wok-current view unzip/receipt @ rev 24032

modified get-teamviewer to be able to fetch versions < 13
author Hans-G?nter Theisgen
date Tue Apr 06 14:38:05 2021 +0100 (2021-04-06)
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 }