hfsprogs: rebuild with our CFLAGS.

This commit is contained in:
Juan RP 2015-02-23 09:52:46 +01:00
parent 29d6eb40fc
commit f8f9d37bcf

View file

@ -4,7 +4,7 @@ _distver=332.25
_patchver=11
version=${_distver}debian${_patchver}
create_wrksrc=yes
revision=2
revision=3
makedepends="libbsd-devel libressl-devel"
short_desc="mkfs and fsck for HFS and HFS+ file systems"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -23,18 +23,16 @@ post_extract() {
patch -Np1 -i ${f}
done
}
do_build() {
cd ${wrksrc}/diskdev*
make -f Makefile.lnx CC=$CC ${makejobs}
make -f Makefile.lnx CC=$CC STRIP=true ${makejobs}
}
do_install() {
cd ${wrksrc}/diskdev*
vinstall newfs_hfs.tproj/hfsbootdata.img 644 usr/share/hfsprogs hfsbootdata
vinstall newfs_hfs.tproj/newfs_hfs 755 usr/bin mkfs.hfsplus
vinstall fsck_hfs.tproj/fsck_hfs 755 usr/bin fsck.hfsplus
vinstall newfs_hfs.tproj/newfs_hfs.8 644 usr/share/man/man8 mkfs.hfsplus.8
vinstall fsck_hfs.tproj/fsck_hfs.8 644 usr/share/man/man8 fsck.hfsplus.8
vinstall ${FILESDIR}/APSL-2.0 644 usr/share/licenses/${pkgname}
vbin newfs_hfs.tproj/newfs_hfs mkfs.hfsplus
vbin fsck_hfs.tproj/fsck_hfs fsck.hfsplus
vman newfs_hfs.tproj/newfs_hfs.8 mkfs.hfsplus.8
vman fsck_hfs.tproj/fsck_hfs.8 fsck.hfsplus.8
vlicense ${FILESDIR}/APSL-2.0
}