wok-next annotate squashfs/receipt @ rev 8851

Updated tazwikiss to use slitaz-dev-tools.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Feb 25 00:13:56 2011 +0000 (2011-02-25)
parents 7e74961dc953
children 940b5937e496
rev   line source
pascal@236 1 # SliTaz package receipt.
pascal@236 2
pascal@236 3 PACKAGE="squashfs"
slaxemulator@6372 4 VERSION="4.1"
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 {
pascal@2991 18 mv ${PACKAGE}${VERSION} $src 2> /dev/null
slaxemulator@7649 19 cd $src
slaxemulator@7649 20 patch -Np1 -i ../stuff/xz.patch
pascal@2991 21 cd $src/squashfs-tools
slaxemulator@7649 22 #sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
pascal@2991 23 mkdir -p ../_pkg/usr/sbin ../_pkg/sbin
pascal@1452 24 make || return 1
pascal@2991 25 cp mksquashfs ../_pkg/usr/sbin
pascal@2991 26 cp unsquashfs ../_pkg/sbin
pascal@236 27 }
pascal@236 28
pascal@236 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@236 30 genpkg_rules()
pascal@236 31 {
pascal@1543 32 cp -a $_pkg/usr $_pkg/sbin $fs
pascal@236 33 }