diff options
author | orchidman <lesibel@free.fr> | 2012-04-19 15:06:37 +0200 |
---|---|---|
committer | orchidman <lesibel@free.fr> | 2012-04-19 15:06:37 +0200 |
commit | 9e976a2c014027671eccd80844ee229a9718da37 (patch) | |
tree | 88621c6a32351477239f6059fc9b5f8ec6fcbd07 /afpfs-ng/Pkgfile | |
parent | 8d21ad4fc1c5a39e5ba5cd87ae6da570c4c511a6 (diff) | |
download | nutyx-extra-9e976a2c014027671eccd80844ee229a9718da37.tar.gz nutyx-extra-9e976a2c014027671eccd80844ee229a9718da37.tar.bz2 nutyx-extra-9e976a2c014027671eccd80844ee229a9718da37.tar.xz nutyx-extra-9e976a2c014027671eccd80844ee229a9718da37.zip |
afpfs-ng 0.8.3-1 ajout port
Diffstat (limited to 'afpfs-ng/Pkgfile')
-rw-r--r-- | afpfs-ng/Pkgfile | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/afpfs-ng/Pkgfile b/afpfs-ng/Pkgfile new file mode 100644 index 000000000..abce6bda2 --- /dev/null +++ b/afpfs-ng/Pkgfile @@ -0,0 +1,44 @@ +# Description: Le protocole AFP +# URL:http://alexthepuffin.googlepages.com/ +# Maintainer: NuTyX core team +# Packager: el diablo +# Depends on: gmp,fuse,libgcrypt + + +name=afpfs-ng +version=0.8.1 +release=1 +source=(http://downloads.sourceforge.net/sourceforge/$name/$name-$version.tar.bz2 + fix_afpfs-ng_includes.patch + 01-gcrypt.patch + 02-pointer.patch + 10-fix-errno.patch + 20-build-error-fixes.patch + 21-header-path-fix.patch + 30-include-fixes.patch) +build() { +cd $name-$version + patch -Np1 -i "$SRC/fix_afpfs-ng_includes.patch" + + patch -Np1 -i "$SRC/01-gcrypt.patch" + + patch -Np1 -i "$SRC/02-pointer.patch" + + patch -Np1 -i "$SRC/10-fix-errno.patch" + + patch -Np1 -i "$SRC/20-build-error-fixes.patch" + + patch -Np1 -i "$SRC/21-header-path-fix.patch" + + patch -Np1 -i "$SRC/30-include-fixes.patch" + + ./configure --prefix=/usr + make + make DESTDIR="$PKG" install + cd include + for header in afpfs-ng/*.h; do + install -Dm644 "$header" "$PKG/usr/include/$header" + done +} + + |