wok-6.x view squashfs/receipt @ rev 18471

syslinux: receipt formatting (Pascal already removed lines, so it is :)
help.en: 4000 -> 5000 packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 03 16:36:26 2015 +0300 (2015-10-03)
parents f2239f90abb3
children 452c85a713bf
line source
1 # SliTaz package receipt.
3 PACKAGE="squashfs"
4 VERSION="4.3"
5 CATEGORY="base-system"
6 SHORT_DESC="Linux squashfs userland tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/"
10 TARBALL="squashfs$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="zlib liblzma linux-squashfs lzo lz4-lib"
14 BUILD_DEPENDS="zlib-dev attr-dev liblzma-dev lzo-dev lz4-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/squashfs-tools
20 for i in XZ LZMA_XZ LZO LZ4 ; do
21 sed -i "s|^#\\(${i}_SUPPORT = 1\\)|\\1|g" Makefile
22 done
23 mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin
24 make || return 1
25 cp -a mksquashfs $DESTDIR/usr/sbin
26 cp -a unsquashfs $DESTDIR/sbin
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/usr $install/sbin $fs
33 }