wok-6.x annotate 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 |
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@11213 | 8 DEPENDS="fuse libgcrypt readline gmp" |
pascal@11213 | 9 BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse-dev gmp" |
pascal@11213 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11213 | 11 WEB_SITE="http://alexthepuffin.googlepages.com/" |
pascal@11213 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@11213 | 13 |
pascal@11213 | 14 # Rules to configure and make the package. |
pascal@11213 | 15 compile_rules() |
pascal@11213 | 16 { |
pascal@11213 | 17 cd $src |
pascal@11213 | 18 ./configure $CONFIGURE_ARGS && |
pascal@11213 | 19 make && make install |
pascal@11213 | 20 } |
pascal@11213 | 21 |
pascal@11213 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11213 | 23 genpkg_rules() |
pascal@11213 | 24 { |
pascal@11213 | 25 mkdir -p $fs/usr/lib |
pascal@11213 | 26 cp -a $install/usr/bin $fs/usr |
pascal@11213 | 27 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@11213 | 28 } |