wok-next view hfsprogs/receipt @ rev 20845

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
parents e6615350078d
children d5aab818505e
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 "$SRC/$TARBALL2" ] ||
21 wget -P $SRC $(dirname $WGET_URL)/$TARBALL2
22 tar -xzf $SRC/$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 openssl"
44 }