wok-next view squashfs/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 0fcf48f89432
children 72ff72059366
line source
1 # SliTaz package receipt v2.
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://squashfs.sourceforge.net/"
11 TARBALL="squashfs$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="zlib-dev attr-dev xz-dev lzo-dev lz4-dev"
16 compile_rules() {
17 cd $src/squashfs-tools
18 for i in XZ LZMA_XZ LZO LZ4; do
19 sed -i "s|^#\\(${i}_SUPPORT = 1\\)|\\1|g" Makefile
20 done
22 make || return 1
24 install -Dm755 mksquashfs $install/usr/sbin/mksquashfs
25 install -Dm755 unsquashfs $install/sbin/unsquashfs
26 }
28 genpkg_rules() {
29 copy @std
30 DEPENDS="zlib liblzma linux-squashfs lzo lz4-lib"
31 }