wok-next view squashfs/receipt @ rev 7015
Up: xorg-fontsproto to 2.1.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 31 13:36:06 2010 +0000 (2010-10-31) |
parents | b9a608e916f2 |
children | 13e4d4e6fcc1 |
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
20 cd $src/squashfs-tools
21 sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
22 mkdir -p ../_pkg/usr/sbin ../_pkg/sbin
23 make || return 1
24 cp mksquashfs ../_pkg/usr/sbin
25 cp unsquashfs ../_pkg/sbin
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $_pkg/usr $_pkg/sbin $fs
32 }