wok-6.x annotate afpfs-ng/receipt @ rev 24862

updated lrzip (0.631 -> 0.651)
author Hans-G?nter Theisgen
date Tue Mar 29 17:47:08 2022 +0100 (2022-03-29)
parents 5f6c5106b1f5
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@24340 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;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 }