Advertisement
Guest User

Untitled

a guest
Jun 15th, 2010
243
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.45 KB | None | 0 0
  1. # Maintainer: Prashant Vaibhav <mercurysquad+arch@gmail.com>
  2. # Previous Maintainer: Alessio 'mOLOk' Bolognino <themolok@gmail.com>
  3. # Contributor: Rubin Simons <rubin@xs4all.nl>
  4.  
  5. pkgname=hfsprogs
  6. pkgver=332.14
  7. pkgrel=2
  8. pkgdesc="HFS+ filesystem utilities (mkfs, fsck, hfsplus)"
  9. arch=('i686' 'x86_64')
  10. license=('custom:APSL')
  11. url="http://gentoo-wiki.com/HOWTO_hfsplus#x86.2FPPC_Linux_port_from_OS_X_10.4.3_.2F_Darwin_8.3"
  12. #source=(http://darwinsource.opendarwin.org/tarballs/apsl/diskdev_cmds-332.14.tar.gz
  13. # the tarball is disappeared, so I uploaded it in my webspace
  14. source=(http://gentoo.osuosl.org/distfiles/diskdev_cmds-$pkgver.tar.gz \
  15. http://gentoo.osuosl.org/distfiles/diskdev_cmds-332.14_p1.patch.bz2
  16. license )
  17. md5sums=('30aec5dd1d37ada4ad2cafcf0005035c'
  18. 'eea059522e1d2451476c338a57cade91'
  19. '771f0a6036a80d929c07df49f9a3d909')
  20.  
  21. build() {
  22. cd $startdir/src/
  23.  
  24. cat diskdev_cmds-332.14_p1.patch | patch -p0
  25. cd diskdev_cmds-332.14
  26.  
  27. make -f Makefile.lnx
  28.  
  29. install -D -m755 newfs_hfs.tproj/newfs_hfs \
  30. $startdir/pkg/sbin/mkfs.hfsplus
  31.  
  32. install -D -m755 fsck_hfs.tproj/fsck_hfs \
  33. $startdir/pkg/sbin/fsck.hfsplus
  34.  
  35. ln -s mkfs.hfsplus $startdir/pkg/sbin/mkfs.hfs
  36. ln -s fsck.hfsplus $startdir/pkg/sbin/fsck.hfs
  37.  
  38. install -D -m644 $startdir/src/license \
  39. $startdir/pkg/usr/share/licenses/hfsprogs/APSL
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement