wok-current annotate avfs/receipt @ rev 20580
go: force arch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 13 22:11:22 2018 +0100 (2018-12-13) |
parents | 54fd732dc684 |
children | 6e8b1bcb30e2 |
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@15000 | 8 LICENSE="GPL2" |
pascal@14529 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@14529 | 10 WEB_SITE="http://avfs.sourceforge.net/" |
pascal@14529 | 11 WGET_URL="$SF_MIRROR/avf/$PACKAGE/$VERSION/$TARBALL" |
pascal@14529 | 12 |
pascal@14529 | 13 DEPENDS="fuse liblzma" |
pascal@14529 | 14 BUILD_DEPENDS="fuse-dev liblzma-dev" |
pascal@14529 | 15 |
pascal@14529 | 16 # Rules to configure and make the package. |
pascal@14529 | 17 compile_rules() |
pascal@14529 | 18 { |
pascal@14529 | 19 cd $src |
pascal@14529 | 20 ./configure \ |
pascal@14529 | 21 --prefix=/usr \ |
pascal@14529 | 22 --enable-fuse \ |
pascal@14529 | 23 $CONFIGURE_ARGS && |
pascal@14529 | 24 make && |
pascal@14529 | 25 make DESTDIR=$DESTDIR install |
pascal@14529 | 26 } |
pascal@14529 | 27 |
pascal@14529 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14529 | 29 genpkg_rules() |
pascal@14529 | 30 { |
pascal@14529 | 31 mkdir -p $fs/usr/lib |
pascal@14529 | 32 cp -a $install/usr/bin $fs/usr |
pascal@14529 | 33 cp -a $install/usr/sbin $fs/usr |
pascal@14529 | 34 cp -a $install/usr/lib/avfs $fs/usr/lib |
pascal@14529 | 35 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14529 | 36 } |