wok-6.x annotate fuse/receipt @ rev 9078

python-nose: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 16:44:25 2011 +0100 (2011-03-04)
parents 4460b40c15d8
children 02bbaa9d12ba
rev   line source
pankso@34 1 # SliTaz package receipt.
pankso@34 2
pankso@34 3 PACKAGE="fuse"
slaxemulator@6547 4 VERSION="2.8.5"
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"
jozee@4936 11 TAGS="filesystem"
pankso@34 12
pankso@34 13 # Rules to configure and make the package.
pankso@34 14 compile_rules()
pankso@34 15 {
pankso@34 16 cd $src
slaxemulator@5344 17
pankso@34 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2993 19 --mandir=/usr/share/man \
pascal@1511 20 $CONFIGURE_ARGS &&
pascal@1443 21 make &&
pankso@34 22 make DESTDIR=$PWD/_pkg install
pankso@34 23 }
pankso@34 24
pankso@34 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@34 26 genpkg_rules()
pankso@34 27 {
pankso@34 28 mkdir -p $fs/usr/lib
pankso@34 29 cp -a $_pkg/dev $fs
pankso@34 30 cp -a $_pkg/sbin $fs
pankso@34 31 cp -a $_pkg/usr/bin $fs/usr
pankso@34 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@34 33 strip -s $fs/sbin/*
pankso@34 34 strip -s $fs/usr/bin/*
pankso@34 35 strip --strip-unneeded $fs/usr/lib/*.so*
pankso@34 36 }
pankso@34 37