wok annotate afpfs-ng/receipt @ rev 25605
Update some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 19 10:59:53 2023 +0000 (16 months ago) |
parents | b1356f30c0b8 |
children |
rev | line source |
---|---|
pascal@11213 | 1 # SliTaz package receipt. |
pascal@11213 | 2 |
pascal@11213 | 3 PACKAGE="afpfs-ng" |
pascal@11213 | 4 VERSION="0.8.1" |
pascal@11213 | 5 CATEGORY="system-tools" |
pascal@11213 | 6 SHORT_DESC="The free afpfs driver." |
pascal@11213 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15362 | 8 LICENSE="GPL2" |
al@19275 | 9 WEB_SITE="http://alexthepuffin.googlepages.com/" |
pascal@11213 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11213 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11213 | 12 |
pascal@24765 | 13 DEPENDS="fuse2 libgcrypt readline gmp" |
pascal@24765 | 14 BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse2-dev automake" |
pascal@15362 | 15 |
pascal@24340 | 16 # What is the latest version available today? |
pascal@24340 | 17 current_version() |
pascal@24340 | 18 { |
pascal@24340 | 19 wget -O - https://sourceforge.net/projects/afpfs-ng/files/afpfs-ng/ 2>/dev/null | \ |
pascal@25605 | 20 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24340 | 21 sed '/scope="row/!d;s|.*/afpfs-ng/||;s|/.*||;q' |
pascal@24340 | 22 } |
pascal@24340 | 23 |
pascal@11213 | 24 # Rules to configure and make the package. |
pascal@11213 | 25 compile_rules() |
pascal@11213 | 26 { |
pascal@11213 | 27 ./configure $CONFIGURE_ARGS && |
pascal@11213 | 28 make && make install |
pascal@11213 | 29 } |
pascal@11213 | 30 |
pascal@11213 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11213 | 32 genpkg_rules() |
pascal@11213 | 33 { |
pascal@11213 | 34 mkdir -p $fs/usr/lib |
pascal@11213 | 35 cp -a $install/usr/bin $fs/usr |
pascal@11213 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11213 | 37 } |