wok-6.x view hfsprogs/receipt @ rev 20915
updated fbpanel (6.1 -> 7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 28 15:53:45 2019 +0100 (2019-02-28) |
parents | a78610b2eb47 |
children | b78e79c31b1f |
line source
1 # SliTaz package receipt.
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 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
10 WEB_SITE="https://opensource.apple.com/"
11 WGET_URL="http://http.debian.net/debian/pool/main/h/hfsprogs/$TARBALL"
12 EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION-11.debian.tar.gz"
14 DEPENDS="libbsd libcrypto"
15 BUILD_DEPENDS="libbsd-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
21 wget -P $SOURCES_REPOSITORY $(dirname $WGET_URL)/$EXTRA_SOURCE_FILES
22 tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
23 for i in $(cat debian/patches/series); do
24 patch -p1 -i debian/patches/$i
25 done
26 make -f Makefile.lnx 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"
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/sbin
34 install -m 755 $src/newfs_hfs.tproj/newfs_hfs $fs/sbin/mkfs.hfsplus
35 install -m 755 $src/fsck_hfs.tproj/fsck_hfs $fs/sbin/fsck.hfsplus
36 }