talimat 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Tanım: Apple Dosyalama Protokol (AFP) kütüphanesi.
  2. # URL: http://alexthepuffin.googlepages.com/
  3. # Paketçi: yakar(aydin@komutan.org)
  4. # Gerekler: fuse libgcrypt
  5. # Grup: kütüphane
  6. isim=afpfs-ng
  7. surum=0.8.1
  8. devir=1
  9. kaynak=(http://downloads.sourceforge.net/sourceforge/$isim/$isim-$surum.tar.bz2
  10. fix_afpfs-ng_includes.patch
  11. 01-gcrypt.patch
  12. 02-pointer.patch
  13. 10-fix-errno.patch
  14. 20-build-error-fixes.patch
  15. 21-header-path-fix.patch
  16. 30-include-fixes.patch
  17. )
  18. derle() {
  19. cd "$SRC/$isim-$surum"
  20. # apply patches
  21. patch -Np1 -i "$SRC/fix_afpfs-ng_includes.patch"
  22. patch -Np1 -i "$SRC/01-gcrypt.patch"
  23. patch -Np1 -i "$SRC/02-pointer.patch"
  24. patch -Np1 -i "$SRC/10-fix-errno.patch"
  25. patch -Np1 -i "$SRC/20-build-error-fixes.patch"
  26. patch -Np1 -i "$SRC/21-header-path-fix.patch"
  27. patch -Np1 -i "$SRC/30-include-fixes.patch"
  28. ./configure --prefix=/usr
  29. make
  30. make DESTDIR="$PKG" install
  31. # install headers
  32. cd include
  33. for header in afpfs-ng/*.h; do
  34. install -Dm644 "$header" "$PKG/usr/include/$header"
  35. done
  36. }