squashfs-tools: update to 4.2.

--HG--
branch : gnome3
This commit is contained in:
Juan RP 2011-03-11 08:15:26 +01:00
parent 5581f27015
commit e5491f8006

View file

@ -1,12 +1,12 @@
# Template file for 'squashfs-tools' # Template file for 'squashfs-tools'
pkgname=squashfs-tools pkgname=squashfs-tools
version=4.1 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"
build_style=custom-install build_style=custom-install
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=3a870d065a25b3f5467bc6d9ed34340befab51a3f9e4b7e3792ea0ff4e06046a checksum=d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96
long_desc=" long_desc="
Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib
compression to compress both files, inodes and directories. Inodes in the compression to compress both files, inodes and directories. Inodes in the
@ -29,19 +29,16 @@ Add_dependency build liblzma-devel
do_build() do_build()
{ {
cd ${wrksrc}/${pkgname} || return 1 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} || return 1
} }
do_install() do_install()
{ {
cd ${wrksrc}/${pkgname} || return 1 cd ${wrksrc}/${pkgname}
install -d ${DESTDIR}/usr/bin install -d ${DESTDIR}/usr/bin
install -m755 {mk,un}squashfs ${DESTDIR}/usr/bin install -m755 {mk,un}squashfs ${DESTDIR}/usr/bin
} }