wok-current view squashfs/receipt @ rev 13719
galculator: try to fix patching; lxappearance, gsynaptics: tidy gtk+ depends
| author | Aleksej Bobylev <al.bobylev@gmail.com> | 
|---|---|
| date | Fri Dec 21 04:34:21 2012 +0000 (2012-12-21) | 
| parents | 940b5937e496 | 
| children | eb8067417980 | 
 line source
     1 # SliTaz package receipt.
     3 PACKAGE="squashfs"
     4 VERSION="4.2"
     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 	cd $src
    19 	cd $src/squashfs-tools
    20 	sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
    21 	mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin
    22 	make || return 1
    23 	cp -a mksquashfs  $DESTDIR/usr/sbin
    24 	cp -a unsquashfs $DESTDIR/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 }