# HG changeset patch # User Pascal Bellard # Date 1272275500 -7200 # Node ID 9c916b5b8c10a4fe02e408c7a04b587cc80ccc99 # Parent 6e72e23f7cbd5d3cf538fe6f043124d4019012af Add afpfs-ng diff -r 6e72e23f7cbd -r 9c916b5b8c10 afpfs-ng-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/afpfs-ng-dev/receipt Mon Apr 26 11:51:40 2010 +0200 @@ -0,0 +1,16 @@ +# SliTaz package receipt. + +PACKAGE="afpfs-ng-dev" +VERSION="0.8.1" +CATEGORY="development" +SHORT_DESC="The free afpfs driver development files" +MAINTAINER="pascal.bellard@slitaz.org" +WEB_SITE="http://alexthepuffin.googlepages.com/" +WANTED="afpfs-ng" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*a $fs/usr/lib +} diff -r 6e72e23f7cbd -r 9c916b5b8c10 afpfs-ng/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/afpfs-ng/receipt Mon Apr 26 11:51:40 2010 +0200 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="afpfs-ng" +VERSION="0.8.1" +CATEGORY="system-tools" +SHORT_DESC="The free afpfs driver." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="fuse libgcrypt readline gmp" +BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse-dev gmp" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://alexthepuffin.googlepages.com/" +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr \ + --mandir=/usr/share/man $CONFIGURE_ARGS && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + # Package all afpfs-ng pkgs + for i in $(cd $WOK; ls -d afpfs-ng-*) + do + tazwok genpkg $i + done +}