wok-current view squashfs/receipt @ rev 8865

Fix: gcompris build depends
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 26 05:05:54 2011 +0100 (2011-02-26)
parents 7e74961dc953
children 940b5937e496
line source
1 # SliTaz package receipt.
3 PACKAGE="squashfs"
4 VERSION="4.1"
5 CATEGORY="base-system"
6 SHORT_DESC="Linux squashfs userland tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://$PACKAGE.sourceforge.net/"
9 TARBALL="squashfs$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 DEPENDS="zlib liblzma linux-squashfs"
12 BUILD_DEPENDS="zlib-dev attr-dev liblzma-dev"
13 PROVIDE="cromfs-or-squashfs"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv ${PACKAGE}${VERSION} $src 2> /dev/null
19 cd $src
20 patch -Np1 -i ../stuff/xz.patch
21 cd $src/squashfs-tools
22 #sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
23 mkdir -p ../_pkg/usr/sbin ../_pkg/sbin
24 make || return 1
25 cp mksquashfs ../_pkg/usr/sbin
26 cp unsquashfs ../_pkg/sbin
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $_pkg/usr $_pkg/sbin $fs
33 }