wok-6.x view fuse/receipt @ rev 4936

add/improve TAGS f* receipts
author Rohit Joshi <jozee@slitaz.org>
date Tue Feb 16 13:56:26 2010 +0000 (2010-02-16)
parents 4a83c4b49c5d
children 703e2a93043d
line source
1 # SliTaz package receipt.
3 PACKAGE="fuse"
4 VERSION="2.7.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Fuse Filsystem in user space."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://fuse.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 TAGS="filesystem"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 if [ ! -d $WOK/linux/taz ]; then
18 tazwok cook linux
19 fi
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --with-kernel=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/dev $fs
33 cp -a $_pkg/sbin $fs
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 strip -s $fs/sbin/*
37 strip -s $fs/usr/bin/*
38 strip --strip-unneeded $fs/usr/lib/*.so*
39 }