wok view unzip/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 15650f5d595b
children cec9f8f5726d
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="https://infozip.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/infozip/$TARBALL"
12 TAGS="archive compression"
14 current_version()
15 {
16 wget -O - $WEB_SITE/UnZip.html 2>/dev/null | \
17 sed '/released/!d;s|.*Zip ||;s|<.*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed -i 's|uname -m|echo i486|' beos/Makefile
24 ln -sf $WOK/$PACKAGE/$PACKAGE${VERSION//./} $WOK/$PACKAGE/$PACKAGE-$VERSION
26 make -f unix/Makefile generic
27 make -f unix/Makefile prefix=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/bin $fs/usr/bin
35 }
37 # Remove Busybox symlink before installing
38 pre_install()
39 {
40 rm -f "$1/usr/bin/unzip"
41 }
43 post_remove()
44 {
45 ln -s /bin/busybox /usr/bin/unzip
46 }