wok annotate hfsprogs/receipt @ rev 21435
updated mhwaveedit (1.4.23 -> 1.4.24)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Apr 27 16:09:59 2019 +0100 (2019-04-27) |
parents | a78610b2eb47 |
children | b78e79c31b1f |
rev | line source |
---|---|
pascal@18216 | 1 # SliTaz package receipt. |
pascal@18216 | 2 |
pascal@18216 | 3 PACKAGE="hfsprogs" |
pascal@18216 | 4 VERSION="332.25" |
pascal@18216 | 5 CATEGORY="system-tools" |
pascal@18216 | 6 SHORT_DESC="HFS+ Filesystem user space tools." |
pascal@18216 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18216 | 8 LICENSE="APLS" |
pascal@18216 | 9 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" |
pascal@20859 | 10 WEB_SITE="https://opensource.apple.com/" |
pascal@18216 | 11 WGET_URL="http://http.debian.net/debian/pool/main/h/hfsprogs/$TARBALL" |
pascal@18216 | 12 EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION-11.debian.tar.gz" |
pascal@18216 | 13 |
pascal@18216 | 14 DEPENDS="libbsd libcrypto" |
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 { |
pascal@18216 | 20 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || |
pascal@18216 | 21 wget -P $SOURCES_REPOSITORY $(dirname $WGET_URL)/$EXTRA_SOURCE_FILES |
pascal@18216 | 22 tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES |
pascal@18216 | 23 for i in $(cat debian/patches/series); do |
pascal@18216 | 24 patch -p1 -i debian/patches/$i |
pascal@18216 | 25 done |
pascal@18216 | 26 make -f Makefile.lnx LDFLAGS="$LDFLAGS -Wl,--as-needed" \ |
pascal@18216 | 27 CFLAGS="$CFLAGS -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -I$src/include" |
pascal@18216 | 28 } |
pascal@18216 | 29 |
pascal@18216 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18216 | 31 genpkg_rules() |
pascal@18216 | 32 { |
pascal@18216 | 33 mkdir -p $fs/sbin |
pascal@18216 | 34 install -m 755 $src/newfs_hfs.tproj/newfs_hfs $fs/sbin/mkfs.hfsplus |
pascal@18216 | 35 install -m 755 $src/fsck_hfs.tproj/fsck_hfs $fs/sbin/fsck.hfsplus |
pascal@18216 | 36 } |