wok view hfsprogs/receipt @ rev 18734

Remove redundant messages in {pre|post}_{install|remove}() in random packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 21 02:53:09 2015 +0200 (2015-12-21)
parents
children a78610b2eb47
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="http://www.opensource.apple.com/darwinsource/10.4/"
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 }