wok-current view squashfs/receipt @ rev 6335
Up: firefox, firefox-dev, libfirefox to 3.6.10.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 18 23:29:04 2010 +0000 (2010-09-18) |
parents | 7b34aa2dd3aa |
children | b9a608e916f2 |
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 $SOURCES_REPOSITORY/lzma465.tar.bz2 ] ||
25 wget $SF_MIRROR/sevenzip/lzma465.tar.bz2 -P $SOURCES_REPOSITORY
26 mkdir -p ../LZMA/lzma465
27 tar xjf $SOURCES_REPOSITORY/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 }