wok-6.x view funionfs/receipt @ rev 2552

apache-dev, apache-doc: fix genpkg_rules (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 11:20:53 2009 +0000 (2009-03-26)
parents f49d39ab0b56
children fb8aceda65ff
line source
1 # SliTaz package receipt.
3 PACKAGE="funionfs"
4 VERSION="0.4.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Union filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 BUILD_DEPENDS="fuse-dev"
9 DEPENDS="fuse"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://funionfs.apiou.org/"
12 WGET_URL="${WEB_SITE}file/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 [ -f main.c.done ] || patch -p0 << EOT
19 --- main.c
20 +++ main.c
21 @@ -305 +305 @@
22 - if (res < 0)
23 + // if (res < 0)
24 EOT
25 touch main.c.done
26 ./configure --prefix=/usr --bindir=/bin \
27 --libexecdir=/usr/bin --mandir=/usr/share/man \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cp -a $_pkg/bin $fs
37 }