wok-6.x view unzip/receipt @ rev 23908
Up tazinst (101)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 08 16:48:38 2020 +0000 (2020-08-08) |
parents | 3705d68ed8f3 |
children | 15650f5d595b |
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://infozip.sourceforge.net/"
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 }