# SliTaz package receipt. PACKAGE="squashfs" VERSION="4.2" CATEGORY="base-system" SHORT_DESC="Linux squashfs userland tools." MAINTAINER="pascal.bellard@slitaz.org" WEB_SITE="http://$PACKAGE.sourceforge.net/" TARBALL="squashfs$VERSION.tar.gz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="zlib liblzma linux-squashfs" BUILD_DEPENDS="zlib-dev attr-dev liblzma-dev" PROVIDE="cromfs-or-squashfs" # Rules to configure and make the package. compile_rules() { cd $src cd $src/squashfs-tools sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin make || return 1 cp -a mksquashfs $DESTDIR/usr/sbin cp -a unsquashfs $DESTDIR/sbin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cp -a $_pkg/usr $_pkg/sbin $fs }