squashfs-tools: update to 4.3.
This commit is contained in:
parent
15e65720fa
commit
d199400908
1 changed files with 5 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'squashfs-tools'
|
||||
pkgname=squashfs-tools
|
||||
version=4.2
|
||||
revision=4
|
||||
version=4.3
|
||||
revision=1
|
||||
wrksrc="squashfs${version}"
|
||||
makedepends="zlib-devel lzo-devel liblzma-devel"
|
||||
license="GPL"
|
||||
|
@ -9,18 +9,12 @@ homepage="http://squashfs.sf.net/"
|
|||
short_desc="Tool to create and append to squashfs filesystems"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
|
||||
checksum=d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96
|
||||
checksum=0d605512437b1eb800b4736791559295ee5f60177e102e4d4ccd0ee241a5f3f6
|
||||
|
||||
do_build() {
|
||||
cd ${wrksrc}/${pkgname}
|
||||
# Enable LZO and XZ support.
|
||||
sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile
|
||||
sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile
|
||||
make ${makejobs} LZMA_XZ_SUPPORT=1
|
||||
make -C ${pkgname} ${makejobs} XZ_SUPPORT=1 LZO_SUPPORT=1 LZMA_XZ_SUPPORT=1
|
||||
}
|
||||
|
||||
do_install() {
|
||||
cd ${wrksrc}/${pkgname}
|
||||
vmkdir usr/bin
|
||||
install -m755 {mk,un}squashfs ${DESTDIR}/usr/bin
|
||||
install -m755 ${pkgname}/{mk,un}squashfs ${DESTDIR}/usr/bin
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue