wok view httpfs-fuse/receipt @ rev 9027

httpfs-fuse: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 03 22:10:39 2011 +0100 (2011-03-03)
parents c6ccd6bc43b1
children 47623f40305b
line source
1 # SliTaz package receipt.
3 PACKAGE="httpfs-fuse"
4 VERSION="2.06.08.26"
5 CATEGORY="system-tools"
6 SHORT_DESC="HTTP Filesystem implemented with FUSE."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="fuse"
9 BUILD_DEPENDS="fuse-dev"
10 SOURCE="httpfs_with_static_binaries"
11 TARBALL="${SOURCE}_$VERSION.tar.gz"
12 WEB_SITE="http://httpfs.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/httpfs/$TARBALL"
14 TAGS="filesystem"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir $src
20 for i in *; do
21 case "$i" in
22 receipt|process.log|taz|$(basename $src));;
23 *) mv $i $src
24 esac
25 done
26 cd $src
27 . ./make_httpfs && cp httpfs $DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $_pkg/httpfs $fs/usr/bin
35 }