wok view optipng/receipt @ rev 19205
linux: add parport_serial.ko.xz
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jun 12 09:23:56 2016 +0200 (2016-06-12) |
parents | 1ce2e857978b |
children | 42380dbaadb7 |
line source
1 # SliTaz package receipt.
3 PACKAGE="optipng"
4 VERSION="0.7.5"
5 CATEGORY="utilities"
6 SHORT_DESC="A command line tool to compress and optimize PNG images."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://optipng.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="image compression"
14 DEPENDS="libpng+apng"
15 BUILD_DEPENDS="libpng+apng-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 -prefix=/usr \
22 -with-system-libpng &&
23 make &&
24 make test &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p \
32 $fs/usr/bin \
33 $fs/usr/share/licenses
34 cp -a $src/LICENSE.txt $fs/usr/share/licenses/$PACKAGE.txt
35 cp -a $install/usr/bin $fs/usr
36 }