wok-next view unzip/receipt @ rev 20405

Follow BLFS Chapter 9 "General Libraries": up apr, apr-util, aspell, autoconf213 (for js), dbus-glib, enchant, exempi, fftw, glib, glibmm, gmime, gobject-introspection, gsl, js, libboost.

js is 39.7MB / 87.6MB now. Looks like it's proper time to kick off polkit (Hi, Xander! You was right.)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 07 17:39:40 2017 +0200 (2017-12-07)
parents 9e01bc6321ea
children 1ff723a6455b
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 ln -sf $WOK/$PACKAGE/$PACKAGE${VERSION//./} $WOK/$PACKAGE/$PACKAGE-$VERSION
19 make -f unix/Makefile generic
20 make -f unix/Makefile prefix=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $install/bin $fs/usr/bin
28 }
30 # Remove Busybox symlink before installing
31 pre_install()
32 {
33 rm -f "$1/usr/bin/unzip"
34 }
36 post_remove()
37 {
38 ln -s /bin/busybox /usr/bin/unzip
39 }