wok-6.x diff tar/receipt @ rev 508
Add xorg-xmodmap (for left hand mouse users)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 04 00:28:53 2008 +0200 (2008-04-04) |
parents | |
children | 127458af63a7 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tar/receipt Fri Apr 04 00:28:53 2008 +0200 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tar" 1.7 +VERSION="1.19" 1.8 +CATEGORY="utilities" 1.9 +SHORT_DESC="GNU tar archiving tools." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.12 +WEB_SITE="" 1.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 + 1.16 +# Rules to configure and make the package. 1.17 +compile_rules() 1.18 +{ 1.19 + cd $src 1.20 + ./configure \ 1.21 + --prefix=/usr \ 1.22 + --libexecdir=/usr/lib/$PACKAGE \ 1.23 + $CONFIGURE_ARGS 1.24 + make 1.25 + make DESTDIR=$PWD/_pkg install 1.26 +} 1.27 + 1.28 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.29 +genpkg_rules() 1.30 +{ 1.31 + mkdir -p $fs/usr 1.32 + cp -a $_pkg/usr/bin $fs/usr 1.33 +} 1.34 + 1.35 +# Prevent erasing busybox... 1.36 +pre_install() 1.37 +{ 1.38 + local root 1.39 + root=$1 1.40 + rm -f $root/usr/bin/tar 1.41 +} 1.42 + 1.43 +post_remove() 1.44 +{ 1.45 + ln -s /bin/busybox /usr/bin/tar 1.46 +}