From c83e30ae48a335c29f164f3ff5c7eb2610b2a02e Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 21 Mar 2013 19:33:12 +0100 Subject: [PATCH] squashfs-tools: cross build and dbg support. --- srcpkgs/squashfs-tools/template | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template index 140c289b587..9fa20825daf 100644 --- a/srcpkgs/squashfs-tools/template +++ b/srcpkgs/squashfs-tools/template @@ -2,13 +2,15 @@ pkgname=squashfs-tools version=4.2 wrksrc="squashfs${version}" -distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz" -revision=2 +revision=3 +makedepends="zlib-devel lzo-devel liblzma-devel" +crossmakedepends="${makedepends}" license="GPL" makedepends="zlib-devel lzo-devel liblzma-devel" homepage="http://squashfs.sf.net/" short_desc="Tool to create and append to squashfs filesystems" maintainer="Juan RP " +distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz" checksum=d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96 long_desc=" Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib @@ -21,8 +23,7 @@ long_desc=" block device/memory systems (e.g. embedded systems) where low overhead is needed." -do_build() -{ +do_build() { cd ${wrksrc}/${pkgname} # Enable LZO and XZ support. sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|' Makefile @@ -30,8 +31,7 @@ do_build() make ${makejobs} LZMA_XZ_SUPPORT=1 } -do_install() -{ +do_install() { cd ${wrksrc}/${pkgname} install -d ${DESTDIR}/usr/bin install -m755 {mk,un}squashfs ${DESTDIR}/usr/bin