wok-next diff hfsprogs/receipt @ rev 19841
Up adwaita-icon-theme, at-spi2-atk, at-spi2-core, elementary-icon-theme, gtk+, gtk+3, hydroxygen-iconset, libepoxy, paper-icon-theme, slitaz-icons-elementary, slitaz-icons-hydroxygen, slitaz-icons-paper. Add faience-icon-theme.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 17 16:45:06 2017 +0300 (2017-08-17) |
parents | 3b1dc1eb7c65 |
children | e6615350078d |
line diff
1.1 --- a/hfsprogs/receipt Fri Jul 17 19:01:24 2015 +0200 1.2 +++ b/hfsprogs/receipt Thu Aug 17 16:45:06 2017 +0300 1.3 @@ -1,36 +1,44 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="hfsprogs" 1.8 VERSION="332.25" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="HFS+ Filesystem user space tools." 1.11 +SHORT_DESC="HFS+ Filesystem user space tools" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="APLS" 1.14 +WEB_SITE="https://www.opensource.apple.com/" 1.15 + 1.16 TARBALL="${PACKAGE}_$VERSION.orig.tar.gz" 1.17 -WEB_SITE="http://www.opensource.apple.com/darwinsource/10.4/" 1.18 +TARBALL2="${PACKAGE}_$VERSION-11.debian.tar.gz" 1.19 WGET_URL="http://http.debian.net/debian/pool/main/h/hfsprogs/$TARBALL" 1.20 -EXTRA_SOURCE_FILES="${PACKAGE}_$VERSION-11.debian.tar.gz" 1.21 1.22 -DEPENDS="libbsd libcrypto" 1.23 BUILD_DEPENDS="libbsd-dev openssl-dev" 1.24 1.25 # Rules to configure and make the package. 1.26 compile_rules() 1.27 { 1.28 - [ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] || 1.29 - wget -P $SOURCES_REPOSITORY $(dirname $WGET_URL)/$EXTRA_SOURCE_FILES 1.30 - tar xzf $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES 1.31 + [ -s "$SOURCES_REPOSITORY/$TARBALL2" ] || 1.32 + wget -P $SOURCES_REPOSITORY $(dirname $WGET_URL)/$TARBALL2 1.33 + tar -xzf $SOURCES_REPOSITORY/$TARBALL2 1.34 for i in $(cat debian/patches/series); do 1.35 patch -p1 -i debian/patches/$i 1.36 done 1.37 - make -f Makefile.lnx LDFLAGS="$LDFLAGS -Wl,--as-needed" \ 1.38 + 1.39 + make -f Makefile.lnx \ 1.40 + LDFLAGS="$LDFLAGS -Wl,--as-needed" \ 1.41 CFLAGS="$CFLAGS -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -D LINUX=1 -D BSD=1 -I$src/include" 1.42 + 1.43 + mkdir -p $install/sbin/ $install/usr/share/hfsprogs/ 1.44 + install -m755 $src/newfs_hfs.tproj/newfs_hfs $install/sbin/mkfs.hfsplus 1.45 + install -m755 $src/fsck_hfs.tproj/fsck_hfs $install/sbin/fsck.hfsplus 1.46 + install -m644 $src/newfs_hfs.tproj/hfsbootdata.img \ 1.47 + $install/usr/share/hfsprogs/hfsbootdata 1.48 + cook_pick_manpages newfs_hfs.tproj/newfs_hfs.8 fsck_hfs.tproj/fsck_hfs.8 1.49 } 1.50 1.51 # Rules to gen a SliTaz package suitable for Tazpkg. 1.52 genpkg_rules() 1.53 { 1.54 - mkdir -p $fs/sbin 1.55 - install -m 755 $src/newfs_hfs.tproj/newfs_hfs $fs/sbin/mkfs.hfsplus 1.56 - install -m 755 $src/fsck_hfs.tproj/fsck_hfs $fs/sbin/fsck.hfsplus 1.57 + copy @std 1.58 + DEPENDS="libbsd libcrypto" 1.59 }