wok-4.x view fuse/receipt @ rev 3152

Up: glibc (2.10.1) - Use the last stable release
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 24 12:19:32 2009 +0200 (2009-05-24)
parents 5ef268e13ebb
children fb8aceda65ff
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 if [ ! -d $WOK/linux/taz ]; then
17 tazwok cook linux
18 fi
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --with-kernel=$(ls -d $WOK/linux/$(ls $WOK/linux/taz)/) \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/dev $fs
32 cp -a $_pkg/sbin $fs
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 strip -s $fs/sbin/*
36 strip -s $fs/usr/bin/*
37 strip --strip-unneeded $fs/usr/lib/*.so*
38 }