wok-current annotate avfs/receipt @ rev 14529
Add avfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 18 13:45:09 2013 +0200 (2013-05-18) |
parents | |
children | 380ffe05937a |
rev | line source |
---|---|
pascal@14529 | 1 # SliTaz package receipt. |
pascal@14529 | 2 |
pascal@14529 | 3 PACKAGE="avfs" |
pascal@14529 | 4 VERSION="1.0.1" |
pascal@14529 | 5 CATEGORY="system-tools" |
pascal@14529 | 6 SHORT_DESC="A virtual Filesystem implemented with FUSE." |
pascal@14529 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14529 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14529 | 9 WEB_SITE="http://avfs.sourceforge.net/" |
pascal@14529 | 10 WGET_URL="$SF_MIRROR/avf/$PACKAGE/$VERSION/$TARBALL" |
pascal@14529 | 11 |
pascal@14529 | 12 DEPENDS="fuse liblzma" |
pascal@14529 | 13 BUILD_DEPENDS="fuse-dev liblzma-dev" |
pascal@14529 | 14 |
pascal@14529 | 15 # Rules to configure and make the package. |
pascal@14529 | 16 compile_rules() |
pascal@14529 | 17 { |
pascal@14529 | 18 cd $src |
pascal@14529 | 19 ./configure \ |
pascal@14529 | 20 --prefix=/usr \ |
pascal@14529 | 21 --enable-fuse \ |
pascal@14529 | 22 $CONFIGURE_ARGS && |
pascal@14529 | 23 make && |
pascal@14529 | 24 make DESTDIR=$DESTDIR install |
pascal@14529 | 25 } |
pascal@14529 | 26 |
pascal@14529 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14529 | 28 genpkg_rules() |
pascal@14529 | 29 { |
pascal@14529 | 30 mkdir -p $fs/usr/lib |
pascal@14529 | 31 cp -a $install/usr/bin $fs/usr |
pascal@14529 | 32 cp -a $install/usr/sbin $fs/usr |
pascal@14529 | 33 cp -a $install/usr/lib/avfs $fs/usr/lib |
pascal@14529 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14529 | 35 } |