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

squid-custom-errors: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:06:52 2011 +0100 (2011-03-04)
parents 4460b40c15d8
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="fuse"
4 VERSION="2.8.5"
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
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/dev $fs
30 cp -a $_pkg/sbin $fs
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 strip -s $fs/sbin/*
34 strip -s $fs/usr/bin/*
35 strip --strip-unneeded $fs/usr/lib/*.so*
36 }