wok-next view hfsprogs/receipt @ rev 20002
Up qps, avidemux, tea
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 23:49:15 2017 +0200 (2017-10-20) |
parents | 3b1dc1eb7c65 |
children | e6615350078d |
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://www.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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -s "$SOURCES_REPOSITORY/$TARBALL2" ] ||
21 wget -P $SOURCES_REPOSITORY $(dirname $WGET_URL)/$TARBALL2
22 tar -xzf $SOURCES_REPOSITORY/$TARBALL2
23 for i in $(cat debian/patches/series); do
24 patch -p1 -i debian/patches/$i
25 done
27 make -f Makefile.lnx \
28 LDFLAGS="$LDFLAGS -Wl,--as-needed" \
29 CFLAGS="$CFLAGS -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -I$src/include"
31 mkdir -p $install/sbin/ $install/usr/share/hfsprogs/
32 install -m755 $src/newfs_hfs.tproj/newfs_hfs $install/sbin/mkfs.hfsplus
33 install -m755 $src/fsck_hfs.tproj/fsck_hfs $install/sbin/fsck.hfsplus
34 install -m644 $src/newfs_hfs.tproj/hfsbootdata.img \
35 $install/usr/share/hfsprogs/hfsbootdata
36 cook_pick_manpages newfs_hfs.tproj/newfs_hfs.8 fsck_hfs.tproj/fsck_hfs.8
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 copy @std
43 DEPENDS="libbsd libcrypto"
44 }