wok-6.x diff afpfs-ng/receipt @ rev 14507
Add get-src2pkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 14 07:26:31 2013 +0200 (2013-05-14) |
parents | |
children | 617dbdeb6f7e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/afpfs-ng/receipt Tue May 14 07:26:31 2013 +0200 1.3 @@ -0,0 +1,28 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="afpfs-ng" 1.7 +VERSION="0.8.1" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="The free afpfs driver." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +DEPENDS="fuse libgcrypt readline gmp" 1.12 +BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse-dev gmp" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://alexthepuffin.googlepages.com/" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + ./configure $CONFIGURE_ARGS && 1.22 + make && make install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr/lib 1.29 + cp -a $install/usr/bin $fs/usr 1.30 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.31 +}