2017-03-27 10:18:18 +02:00
|
|
|
|
# Description: HFS/HFS + kullanıcı alanı etiketleri
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.opensource.apple.com/
|
2017-01-31 02:35:21 +01:00
|
|
|
|
# Packager: milisarge
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# Depends on: libbsd openssl
|
|
|
|
|
|
|
|
|
|
name=hfsprogs
|
|
|
|
|
version=332.25
|
|
|
|
|
release=1
|
|
|
|
|
source=(http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/${name}_${version}.orig.tar.gz
|
|
|
|
|
http://ftp.de.debian.org/debian/pool/main/h/hfsprogs/${name}_${version}-11.debian.tar.gz
|
|
|
|
|
license
|
|
|
|
|
makefile.patch)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd diskdev_cmds-${version}
|
|
|
|
|
for patch in ../debian/patches/*.patch ../makefile.patch
|
|
|
|
|
do
|
|
|
|
|
patch -Np1 -i ${patch}
|
|
|
|
|
done
|
|
|
|
|
make -f Makefile.lnx
|
|
|
|
|
install -m 755 -d ${PKG}/usr/bin
|
|
|
|
|
install -m 755 -d ${PKG}/usr/share/licenses/${name}
|
|
|
|
|
install -m 755 -d ${PKG}/usr/share/${name}
|
|
|
|
|
install -m 755 -d ${PKG}/usr/share/man/man8/
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
install -m 644 ../license ${PKG}/usr/share/licenses/${name}/APSL
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
install -m 755 newfs_hfs.tproj/newfs_hfs ${PKG}/usr/bin/mkfs.hfsplus
|
|
|
|
|
install -m 755 fsck_hfs.tproj/fsck_hfs ${PKG}/usr/bin/fsck.hfsplus
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
install -m 644 newfs_hfs.tproj/hfsbootdata.img ${PKG}/usr/share/${NAME}/hfsbootdata
|
2017-01-31 02:35:21 +01:00
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
install -m 644 newfs_hfs.tproj/newfs_hfs.8 ${PKG}/usr/share/man/man8/mkfs.hfsplus.8
|
|
|
|
|
install -m 644 fsck_hfs.tproj/fsck_hfs.8 ${PKG}/usr/share/man/man8/fsck.hfsplus.8
|
|
|
|
|
}
|