wok annotate afuse/receipt @ rev 23607
Up slitaz-boot-scripts (459)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 12 10:18:55 2020 +0000 (2020-04-12) |
parents | 294cf8a66d39 |
children | b569b85b0fb9 |
rev | line source |
---|---|
pascal@21097 | 1 # SliTaz package receipt. |
pascal@21097 | 2 |
pascal@21097 | 3 PACKAGE="afuse" |
pascal@21097 | 4 VERSION="0.4.1" |
pascal@21097 | 5 CATEGORY="system-tools" |
pascal@21097 | 6 SHORT_DESC="An automounter implemented with FUSE" |
pascal@21097 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@21097 | 8 LICENSE="GPL2" |
pascal@21097 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@21097 | 10 WEB_SITE="https://github.com/pcarrier/afuse/" |
pascal@21097 | 11 WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" |
pascal@21097 | 12 |
pascal@21097 | 13 DEPENDS="fuse" |
pascal@21097 | 14 BUILD_DEPENDS="fuse-dev perl-getopt-long autoconf automake libtool " |
pascal@21097 | 15 |
pascal@21097 | 16 # Rules to configure and make the package. |
pascal@21097 | 17 compile_rules() |
pascal@21097 | 18 { |
pascal@21097 | 19 autoreconf --install --verbose |
pascal@21097 | 20 sed -i 's|v -V -qversion|v|' configure |
pascal@21097 | 21 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@21097 | 22 --mandir=/usr/share/man \ |
pascal@21097 | 23 $CONFIGURE_ARGS && |
pascal@21097 | 24 make && |
pascal@21097 | 25 make DESTDIR=$DESTDIR install |
pascal@21097 | 26 } |
pascal@21097 | 27 |
pascal@21097 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@21097 | 29 genpkg_rules() |
pascal@21097 | 30 { |
pascal@21098 | 31 mkdir -p $fs/usr/ $install/usr/share/doc |
pascal@21098 | 32 cp -a $install/usr/bin $fs/usr/ |
pascal@21098 | 33 cp $src/README $src/AUTHORS $install/usr/share/doc |
pascal@21097 | 34 } |