wok-next annotate hfsprogs/receipt @ rev 19816

gstreamer0, gst0-* are for version 0.10; while gstreamer1, gst1-* are for version 1.0; up gparted and all its suggested dependencies...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jul 27 00:56:44 2017 +0300 (2017-07-27)
parents 3b1dc1eb7c65
children e6615350078d
rev   line source
al@19816 1 # SliTaz package receipt v2.
pascal@18216 2
pascal@18216 3 PACKAGE="hfsprogs"
pascal@18216 4 VERSION="332.25"
pascal@18216 5 CATEGORY="system-tools"
al@19816 6 SHORT_DESC="HFS+ Filesystem user space tools"
pascal@18216 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18216 8 LICENSE="APLS"
al@19816 9 WEB_SITE="https://www.opensource.apple.com/"
al@19816 10
pascal@18216 11 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
al@19816 12 TARBALL2="${PACKAGE}_$VERSION-11.debian.tar.gz"
pascal@18216 13 WGET_URL="http://http.debian.net/debian/pool/main/h/hfsprogs/$TARBALL"
pascal@18216 14
pascal@18216 15 BUILD_DEPENDS="libbsd-dev openssl-dev"
pascal@18216 16
pascal@18216 17 # Rules to configure and make the package.
pascal@18216 18 compile_rules()
pascal@18216 19 {
al@19816 20 [ -s "$SOURCES_REPOSITORY/$TARBALL2" ] ||
al@19816 21 wget -P $SOURCES_REPOSITORY $(dirname $WGET_URL)/$TARBALL2
al@19816 22 tar -xzf $SOURCES_REPOSITORY/$TARBALL2
pascal@18216 23 for i in $(cat debian/patches/series); do
pascal@18216 24 patch -p1 -i debian/patches/$i
pascal@18216 25 done
al@19816 26
al@19816 27 make -f Makefile.lnx \
al@19816 28 LDFLAGS="$LDFLAGS -Wl,--as-needed" \
pascal@18216 29 CFLAGS="$CFLAGS -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -I$src/include"
al@19816 30
al@19816 31 mkdir -p $install/sbin/ $install/usr/share/hfsprogs/
al@19816 32 install -m755 $src/newfs_hfs.tproj/newfs_hfs $install/sbin/mkfs.hfsplus
al@19816 33 install -m755 $src/fsck_hfs.tproj/fsck_hfs $install/sbin/fsck.hfsplus
al@19816 34 install -m644 $src/newfs_hfs.tproj/hfsbootdata.img \
al@19816 35 $install/usr/share/hfsprogs/hfsbootdata
al@19816 36 cook_pick_manpages newfs_hfs.tproj/newfs_hfs.8 fsck_hfs.tproj/fsck_hfs.8
pascal@18216 37 }
pascal@18216 38
pascal@18216 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@18216 40 genpkg_rules()
pascal@18216 41 {
al@19816 42 copy @std
al@19816 43 DEPENDS="libbsd libcrypto"
pascal@18216 44 }