mksquashfs-tools: add support for lzma
This commit is contained in:
parent
ed955d2048
commit
91aa8f1101
1 changed files with 4 additions and 4 deletions
|
@ -3,8 +3,10 @@ pkgname=squashfs-tools
|
||||||
version=4.2
|
version=4.2
|
||||||
wrksrc="squashfs${version}"
|
wrksrc="squashfs${version}"
|
||||||
distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
|
distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz"
|
||||||
revision=1
|
revision=2
|
||||||
|
license="GPL"
|
||||||
makedepends="zlib-devel lzo-devel liblzma-devel"
|
makedepends="zlib-devel lzo-devel liblzma-devel"
|
||||||
|
homepage="http://squashfs.sf.net/"
|
||||||
short_desc="Tool to create and append to squashfs filesystems"
|
short_desc="Tool to create and append to squashfs filesystems"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
checksum=d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96
|
checksum=d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96
|
||||||
|
@ -19,15 +21,13 @@ long_desc="
|
||||||
block device/memory systems (e.g. embedded systems) where low overhead is
|
block device/memory systems (e.g. embedded systems) where low overhead is
|
||||||
needed."
|
needed."
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
do_build()
|
do_build()
|
||||||
{
|
{
|
||||||
cd ${wrksrc}/${pkgname}
|
cd ${wrksrc}/${pkgname}
|
||||||
# Enable LZO and XZ support.
|
# Enable LZO and XZ support.
|
||||||
sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile
|
sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile
|
||||||
sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile
|
sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|' Makefile
|
||||||
make ${makejobs}
|
make ${makejobs} LZMA_XZ_SUPPORT=1
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install()
|
do_install()
|
||||||
|
|
Loading…
Reference in a new issue