wok-next view unzip/receipt @ rev 6891
Fixed cups. Needed to add --enable-dbus and --with-dbusdir=/etc/dbus-1 for there to be a /etc/dbus-1 folder to copy to package.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 02:47:40 2010 +0000 (2010-10-21) |
parents | 3115c291f303 |
children | c3bd0d2548ea |
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 TARBALL="unzip60.tar.gz"
9 WEB_SITE="http://www.info-zip.org/"
10 WGET_URL="$SF_MIRROR/infozip/$TARBALL"
11 TAGS="archive compression"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ln -sf $WOK/$PACKAGE/unzip60 $WOK/$PACKAGE/$PACKAGE-$VERSION
17 cd $src
18 make -f unix/Makefile generic
19 make -f unix/Makefile prefix=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $_pkg/bin/unzip $fs/usr/bin
27 }
29 # Remove Busybox symlink before installing
30 pre_install()
31 {
32 rm -f $1/usr/bin/unzip
33 }
35 post_remove()
36 {
37 ln -s /bin/busybox /usr/bin/unzip
38 }