talimat 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. # Tanım: HFS/HFS + kullanıcı alanı etiketleri
  2. # URL: http://www.opensource.apple.com/
  3. # Paketçi: milisarge
  4. # Gerekler: libbsd openssl
  5. # Grup: sistem
  6. isim=hfsprogs
  7. surum=332.25
  8. devir=1
  9. kaynak=(http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/${isim}_${surum}.orig.tar.gz
  10. http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/${isim}_${surum}-11.debian.tar.gz
  11. license
  12. makefile.patch)
  13. derle() {
  14. cd diskdev_cmds-${surum}
  15. for patch in ../debian/patches/*.patch ../makefile.patch
  16. do
  17. patch -Np1 -i ${patch}
  18. done
  19. make -f Makefile.lnx
  20. install -m 755 -d ${PKG}/usr/bin
  21. install -m 755 -d ${PKG}/usr/share/licenses/${isim}
  22. install -m 755 -d ${PKG}/usr/share/${isim}
  23. install -m 755 -d ${PKG}/usr/share/man/man8/
  24. install -m 644 ../license ${PKG}/usr/share/licenses/${isim}/APSL
  25. install -m 755 newfs_hfs.tproj/newfs_hfs ${PKG}/usr/bin/mkfs.hfsplus
  26. install -m 755 fsck_hfs.tproj/fsck_hfs ${PKG}/usr/bin/fsck.hfsplus
  27. install -m 644 newfs_hfs.tproj/hfsbootdata.img ${PKG}/usr/share/${NAME}/hfsbootdata
  28. install -m 644 newfs_hfs.tproj/newfs_hfs.8 ${PKG}/usr/share/man/man8/mkfs.hfsplus.8
  29. install -m 644 fsck_hfs.tproj/fsck_hfs.8 ${PKG}/usr/share/man/man8/fsck.hfsplus.8
  30. }