wok-4.x view squashfs/receipt @ rev 5372
Up: libwebkit, libwebkit-dev, webkit-web-inspector (1.2.0) - Added acl and util-linux-ng-uuid to depends and the -dev of them to build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 01 01:30:59 2010 +0000 (2010-05-01) |
parents | 214c9590a5e5 |
children | f5b04145b323 |
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 if [ ! -d ../LZMA/lzma465 ]; then
23 SF_MIRROR=http://switch.dl.sourceforge.net/sourceforge
24 [ -s lzma465.tar.bz2 ] ||
25 wget $SF_MIRROR/sevenzip/lzma465.tar.bz2
26 mkdir -p ../LZMA/lzma465
27 tar xjf lzma465.tar.bz2 -C ../LZMA/lzma465
28 fi
29 if [ ! -f lzma_wrapper.c ]; then
30 patch -p2 -i ../../stuff/lzma.u
31 fi
32 make || return 1
33 cp mksquashfs ../_pkg/usr/sbin
34 cp unsquashfs ../_pkg/sbin
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $_pkg/usr $_pkg/sbin $fs
41 }