milis/talimatname/genel/hfsprogs/talimat

36 lines
1.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Description: HFS/HFS + kullanıcı alanı etiketleri
# URL: http://www.opensource.apple.com/
# Packager: milisarge
# 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/
install -m 644 ../license ${PKG}/usr/share/licenses/${name}/APSL
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
install -m 644 newfs_hfs.tproj/hfsbootdata.img ${PKG}/usr/share/${NAME}/hfsbootdata
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
}