wok annotate fuse/receipt @ rev 3206
add pan newsreader
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Thu May 28 11:54:28 2009 +0000 (2009-05-28) |
parents | 5ef268e13ebb |
children | fb8aceda65ff |
rev | line source |
---|---|
pankso@34 | 1 # SliTaz package receipt. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="fuse" |
b1+slitaz@1828 | 4 VERSION="2.7.4" |
pankso@202 | 5 CATEGORY="system-tools" |
pankso@34 | 6 SHORT_DESC="Fuse Filsystem in user space." |
pankso@34 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@34 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@34 | 9 WEB_SITE="http://fuse.sourceforge.net/" |
pankso@34 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@34 | 11 |
pankso@34 | 12 # Rules to configure and make the package. |
pankso@34 | 13 compile_rules() |
pankso@34 | 14 { |
pankso@34 | 15 cd $src |
pascal@1511 | 16 if [ ! -d $WOK/linux/taz ]; then |
pascal@1511 | 17 tazwok cook linux |
pascal@1511 | 18 fi |
pankso@34 | 19 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@2993 | 20 --with-kernel=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) \ |
pascal@2993 | 21 --mandir=/usr/share/man \ |
pascal@1511 | 22 $CONFIGURE_ARGS && |
pascal@1443 | 23 make && |
pankso@34 | 24 make DESTDIR=$PWD/_pkg install |
pankso@34 | 25 } |
pankso@34 | 26 |
pankso@34 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 28 genpkg_rules() |
pankso@34 | 29 { |
pankso@34 | 30 mkdir -p $fs/usr/lib |
pankso@34 | 31 cp -a $_pkg/dev $fs |
pankso@34 | 32 cp -a $_pkg/sbin $fs |
pankso@34 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@34 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@34 | 35 strip -s $fs/sbin/* |
pankso@34 | 36 strip -s $fs/usr/bin/* |
pankso@34 | 37 strip --strip-unneeded $fs/usr/lib/*.so* |
pankso@34 | 38 } |
pankso@34 | 39 |