wok-next view squashfs/receipt @ rev 3149

Up: udev (142)
author Christophe Lincoln <pankso@slitaz.org>
date Sun May 24 00:19:23 2009 +0200 (2009-05-24)
parents 943999dafee6
children 7b34aa2dd3aa
line source
1 # SliTaz package receipt.
3 PACKAGE="squashfs"
4 VERSION="4.0"
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 linux-squashfs"
12 BUILD_DEPENDS="zlib-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 mkdir -p ../_pkg/usr/sbin ../_pkg/sbin
22 make || return 1
23 cp mksquashfs ../_pkg/usr/sbin
24 cp unsquashfs ../_pkg/sbin
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/usr $_pkg/sbin $fs
31 }