wok-current view optipng/receipt @ rev 19688

squirrelmail-bookmarks: symlinks was broken at the build time
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Feb 13 00:16:15 2017 +0200 (2017-02-13)
parents c77465c3f3e0
children 91d4ae5b7999
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 sed -i 's|prefix)/man|prefix)/share/man|' configure
21 ./configure \
22 -prefix=/usr \
23 -with-system-libpng &&
24 make &&
25 make test &&
26 make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p \
33 $fs/usr/bin \
34 $fs/usr/share/licenses
35 cp -a $src/LICENSE.txt $fs/usr/share/licenses/$PACKAGE.txt
36 cp -a $install/usr/bin $fs/usr
37 }