wok view squashfs/receipt @ rev 6485

audacious-plugins: break a dependency loop
author Antoine Bodin <gokhlayeh@mailoo.org>
date Thu Sep 30 21:14:47 2010 +0200 (2010-09-30)
parents f5b04145b323
children 7e74961dc953
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 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 }