From e5491f80061fb7c030def61191ea56d2bddbf2d2 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 11 Mar 2011 08:15:26 +0100 Subject: [PATCH] squashfs-tools: update to 4.2. --HG-- branch : gnome3 --- srcpkgs/squashfs-tools/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/squashfs-tools/template b/srcpkgs/squashfs-tools/template index 93f273c1ce9..9f85b23fbef 100644 --- a/srcpkgs/squashfs-tools/template +++ b/srcpkgs/squashfs-tools/template @@ -1,12 +1,12 @@ # Template file for 'squashfs-tools' pkgname=squashfs-tools -version=4.1 +version=4.2 wrksrc="squashfs${version}" distfiles="${SOURCEFORGE_SITE}/squashfs/squashfs${version}.tar.gz" build_style=custom-install short_desc="Tool to create and append to squashfs filesystems" maintainer="Juan RP " -checksum=3a870d065a25b3f5467bc6d9ed34340befab51a3f9e4b7e3792ea0ff4e06046a +checksum=d9e0195aa922dbb665ed322b9aaa96e04a476ee650f39bbeadb0d00b24022e96 long_desc=" Squashfs is a highly compressed read-only filesystem for Linux. It uses zlib compression to compress both files, inodes and directories. Inodes in the @@ -29,19 +29,16 @@ Add_dependency build liblzma-devel do_build() { - cd ${wrksrc}/${pkgname} || return 1 - + 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} || return 1 + make ${makejobs} } do_install() { - cd ${wrksrc}/${pkgname} || return 1 - + cd ${wrksrc}/${pkgname} install -d ${DESTDIR}/usr/bin install -m755 {mk,un}squashfs ${DESTDIR}/usr/bin }