wok-6.x view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="fuse"
4 VERSION="2.7.1"
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 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib
26 cp -a $_pkg/dev $fs
27 cp -a $_pkg/sbin $fs
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 strip -s $fs/sbin/*
31 strip -s $fs/usr/bin/*
32 strip --strip-unneeded $fs/usr/lib/*.so*
33 }