wok-undigest view afpfs-ng/receipt @ rev 296

blackbox: Fixed. Add patch from archlinux to get it to build.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jun 07 09:16:08 2011 +0000 (2011-06-07)
parents
children 8fc6feb8d2c2
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 DEPENDS="fuse libgcrypt readline gmp"
9 BUILD_DEPENDS="libgcrypt-dev readline-dev gmp-dev fuse-dev gmp"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://alexthepuffin.googlepages.com/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 # Package all afpfs-ng pkgs
31 for i in $(cd $WOK; ls -d afpfs-ng-*)
32 do
33 tazwok genpkg $i
34 done
35 }