wok-6.x annotate squashfs/receipt @ rev 14675

eeze: Up to 1.7.7
author Dominique Corbex <domcox@slitaz.org>
date Thu Jun 06 22:08:34 2013 +0200 (2013-06-06)
parents 940b5937e496
children eb8067417980
rev   line source
pascal@236 1 # SliTaz package receipt.
pascal@236 2
pascal@236 3 PACKAGE="squashfs"
slaxemulator@8994 4 VERSION="4.2"
pascal@236 5 CATEGORY="base-system"
pascal@909 6 SHORT_DESC="Linux squashfs userland tools."
pascal@236 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@236 8 WEB_SITE="http://$PACKAGE.sourceforge.net/"
pascal@2991 9 TARBALL="squashfs$VERSION.tar.gz"
pascal@236 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@6487 11 DEPENDS="zlib liblzma linux-squashfs"
slaxemulator@6372 12 BUILD_DEPENDS="zlib-dev attr-dev liblzma-dev"
pascal@1834 13 PROVIDE="cromfs-or-squashfs"
pascal@1930 14
pascal@236 15 # Rules to configure and make the package.
pascal@236 16 compile_rules()
pascal@236 17 {
slaxemulator@7649 18 cd $src
pascal@2991 19 cd $src/squashfs-tools
slaxemulator@8994 20 sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
slaxemulator@8994 21 mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin
pascal@1452 22 make || return 1
slaxemulator@8994 23 cp -a mksquashfs $DESTDIR/usr/sbin
slaxemulator@8994 24 cp -a unsquashfs $DESTDIR/sbin
pascal@236 25 }
pascal@236 26
pascal@236 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@236 28 genpkg_rules()
pascal@236 29 {
pascal@1543 30 cp -a $_pkg/usr $_pkg/sbin $fs
pascal@236 31 }