wok view unzip/receipt @ rev 20966

updated gif2apng (1.7 -> 1.9)
author Hans-G?nter Theisgen
date Tue Mar 05 14:23:59 2019 +0100 (2019-03-05)
parents 762b649a4d73
children 56ee356284c6
line source
1 # SliTaz package receipt.
3 PACKAGE="unzip"
4 VERSION="6.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Zip dearchiver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="other"
9 TARBALL="$PACKAGE${VERSION//./}.tar.gz"
10 WEB_SITE="http://www.info-zip.org/"
11 WGET_URL="$SF_MIRROR/infozip/$TARBALL"
12 TAGS="archive compression"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 sed -i 's|uname -m|echo i486|' beos/Makefile
18 ln -sf $WOK/$PACKAGE/$PACKAGE${VERSION//./} $WOK/$PACKAGE/$PACKAGE-$VERSION
20 make -f unix/Makefile generic
21 make -f unix/Makefile prefix=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/bin $fs/usr/bin
29 }
31 # Remove Busybox symlink before installing
32 pre_install()
33 {
34 rm -f "$1/usr/bin/unzip"
35 }
37 post_remove()
38 {
39 ln -s /bin/busybox /usr/bin/unzip
40 }