wok view hfsprogs/receipt @ rev 23745
updated xdg-utils (1.1.0-rc1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 01 14:08:35 2020 +0100 (2020-05-01) |
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 }