wok view squashfs/receipt @ rev 15580

directfb: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 30 10:52:52 2013 +0000 (2013-11-30)
parents 79628cb236df
children 051931e905b0
line source
1 # SliTaz package receipt.
3 PACKAGE="squashfs"
4 VERSION="4.2"
5 CATEGORY="base-system"
6 SHORT_DESC="Linux squashfs userland tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 TARBALL="squashfs$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="zlib liblzma linux-squashfs"
14 BUILD_DEPENDS="zlib-dev attr-dev liblzma-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 cd $src/squashfs-tools
21 sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
22 mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin
23 make || return 1
24 cp -a mksquashfs $DESTDIR/usr/sbin
25 cp -a unsquashfs $DESTDIR/sbin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/usr $_pkg/sbin $fs
32 }