wok view optipng/receipt @ rev 23770
created recipes for xorg-libXfont2 and xorg-libXfont2-dev
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 15 07:18:58 2020 +0100 (2020-05-15) |
parents | 42380dbaadb7 |
children | 080c1dff8494 |
line source
1 # SliTaz package receipt.
3 PACKAGE="optipng"
4 VERSION="0.7.7"
5 CATEGORY="utilities"
6 TAGS="image compression"
7 SHORT_DESC="A command line tool to compress and optimize PNG images."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="zlib/libpng"
10 WEB_SITE="http://optipng.sourceforge.net/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="libpng+apng"
16 BUILD_DEPENDS="libpng+apng-dev zlib-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's|prefix)/man|prefix)/share/man|' configure
23 ./configure \
24 -prefix=/usr \
25 -with-system-libpng &&
26 make &&
27 make test &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 mkdir -p $fs/usr/share/licenses
37 cp -a $src/LICENSE.txt $fs/usr/share/licenses/$PACKAGE.txt
38 cp -a $install/usr/bin $fs/usr
39 }