wok-next view hfsprogs/receipt @ rev 21583
updated ddclient (3.8.3 -> 3.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 23 16:30:52 2020 +0100 (2020-06-23) |
parents | d43bf7aae921 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="hfsprogs"
4 VERSION="332.25"
5 CATEGORY="system-tools"
6 SHORT_DESC="HFS+ Filesystem user space tools"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="APLS"
9 WEB_SITE="https://opensource.apple.com/"
11 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
12 TARBALL2="${PACKAGE}_$VERSION-11.debian.tar.gz"
13 WGET_URL="http://http.debian.net/debian/pool/main/h/hfsprogs/$TARBALL"
15 BUILD_DEPENDS="libbsd-dev openssl-dev"
17 compile_rules() {
18 [ -s "$SRC/$TARBALL2" ] ||
19 wget -P $SRC $(dirname $WGET_URL)/$TARBALL2
20 tar -xzf $SRC/$TARBALL2
21 for i in $(cat debian/patches/series); do
22 patch -p1 -i debian/patches/$i
23 done
25 make -f Makefile.lnx \
26 LDFLAGS="$LDFLAGS -Wl,--as-needed" \
27 CFLAGS="$CFLAGS -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -I$src/include"
29 mkdir -p $install/sbin/ $install/usr/share/hfsprogs/
30 install -m755 $src/newfs_hfs.tproj/newfs_hfs $install/sbin/mkfs.hfsplus
31 install -m755 $src/fsck_hfs.tproj/fsck_hfs $install/sbin/fsck.hfsplus
32 install -m644 $src/newfs_hfs.tproj/hfsbootdata.img \
33 $install/usr/share/hfsprogs/hfsbootdata
35 cook_pick_manpages newfs_hfs.tproj/newfs_hfs.8 fsck_hfs.tproj/fsck_hfs.8
36 }
38 genpkg_rules() {
39 copy @std
40 DEPENDS="libbsd openssl"
41 }