wok-6.x view afpfs-ng/receipt @ rev 25521
created recipes for unibilium and unibilium-dev 2.1.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 17:05:40 2023 +0100 (21 months ago) |
parents | 5f6c5106b1f5 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="afpfs-ng"
4 VERSION="0.8.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="The free afpfs driver."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://alexthepuffin.googlepages.com/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="fuse2 libgcrypt readline gmp"
14 BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse2-dev automake"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/afpfs-ng/files/afpfs-ng/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/afpfs-ng/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 }