wok-next view optipng/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | 5669e8b3be70 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="optipng"
4 VERSION="0.7.7"
5 CATEGORY="utilities"
6 SHORT_DESC="Compress and optimize PNG images"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://optipng.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TARBALL_SHA1="68aa89fbde642b104aeefa9efbc4dfbb936fa630"
15 BUILD_DEPENDS="libpng-dev zlib-dev zlib-static"
16 SPLIT="$PACKAGE-static:static"
18 COPY_static="@std"
20 CAT_static="graphics|static binary"
21 PROVIDE_static="optipng"
23 DEPENDS_std="libpng zlib"
24 DEPENDS_static=" "
26 TAGS="image compression"
28 compile_rules() {
29 sed -i 's|prefix)/man|prefix)/share/man|' configure
31 case "$SET" in
32 static)
33 LDFLAGS='-static' \
34 ./configure \
35 -prefix=/usr \
36 -with-system-libpng
37 ;;
38 *)
39 ./configure \
40 -prefix=/usr \
41 -with-system-libpng
42 ;;
43 esac &&
45 make &&
46 make install
47 }