wok-6.x annotate fuse/receipt @ rev 1137
Fix post_install for subdir install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 24 12:27:06 2008 +0000 (2008-07-24) |
parents | 96142343fd1b |
children | f686472ad1af |
rev | line source |
---|---|
pankso@34 | 1 # SliTaz package receipt. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="fuse" |
pankso@34 | 4 VERSION="2.7.1" |
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 |
pankso@34 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pankso@34 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@34 | 18 make |
pankso@34 | 19 make DESTDIR=$PWD/_pkg install |
pankso@34 | 20 } |
pankso@34 | 21 |
pankso@34 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 23 genpkg_rules() |
pankso@34 | 24 { |
pankso@34 | 25 mkdir -p $fs/usr/lib |
pankso@34 | 26 cp -a $_pkg/dev $fs |
pankso@34 | 27 cp -a $_pkg/sbin $fs |
pankso@34 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@34 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@34 | 30 strip -s $fs/sbin/* |
pankso@34 | 31 strip -s $fs/usr/bin/* |
pankso@34 | 32 strip --strip-unneeded $fs/usr/lib/*.so* |
pankso@34 | 33 } |
pankso@34 | 34 |