Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xfcetesting.git;a=commitdiff;h=e28ea2f2292de1c2717c78ef2ffeb1217d4b6062
commit e28ea2f2292de1c2717c78ef2ffeb1217d4b6062 Author: James Buren <[email protected]> Date: Mon Apr 18 16:41:34 2011 -0500 squashfs-4.2-2-i686 * enable other compression methods diff --git a/source/apps-extra/squashfs/FrugalBuild b/source/apps-extra/squashfs/FrugalBuild index a5678d2..caab7af 100644 --- a/source/apps-extra/squashfs/FrugalBuild +++ b/source/apps-extra/squashfs/FrugalBuild @@ -3,21 +3,23 @@ pkgname=squashfs pkgver=4.2 -pkgrel=1 +pkgrel=2 pkgdesc="A compressed read-only filesystem." -depends=('xfsprogs-attr') +depends=('xfsprogs-attr' 'zlib' 'xz' 'lzma' 'lzo') groups=('apps-extra') archs=('i686' 'x86_64') _F_sourceforge_subdir="/$pkgname/" _F_sourceforge_sep="None" Finclude sourceforge -sha1sums=('e0944471ff68e215d3fecd464f30ea6ceb635fd7') +source=(${source[@]} $pkgname-4.2-enable-support.patch) +sha1sums=('e0944471ff68e215d3fecd464f30ea6ceb635fd7' \ + 'c1d54da852b03fe70b5091ed36357d0bededf41e') _F_cd_path="$pkgname$pkgver/$pkgname-tools" build() { - Fmkdir /usr/bin - Fmake - Finstallrel 755 mksquashfs /usr/bin - Finstallrel 755 unsquashfs /usr/bin + Fsed "/usr/local/bin" "$Fdestdir/usr/bin" Makefile + Fbuild } + +# optimization OK diff --git a/source/apps-extra/squashfs/squashfs-4.2-enable-support.patch b/source/apps-extra/squashfs/squashfs-4.2-enable-support.patch new file mode 100644 index 0000000..8b0fbe3 --- /dev/null +++ b/source/apps-extra/squashfs/squashfs-4.2-enable-support.patch @@ -0,0 +1,32 @@ +diff -aur Makefile Makefile +--- Makefile 2011-02-28 14:04:15.000000000 -0600 ++++ Makefile 2011-04-18 16:32:55.339823672 -0500 +@@ -26,7 +26,7 @@ + # To build using XZ Utils liblzma - install the library and uncomment + # the XZ_SUPPORT line below. + # +-#XZ_SUPPORT = 1 ++XZ_SUPPORT = 1 + + + ############ Building LZO support ############## +@@ -37,8 +37,8 @@ + # LZO_SUPPORT line below. If needed, uncomment and set LZO_DIR to the + # installation prefix. + # +-#LZO_SUPPORT = 1 +-#LZO_DIR = /usr/local ++LZO_SUPPORT = 1 ++LZO_DIR = /usr + + ########### Building LZMA support ############# + # +@@ -57,7 +57,7 @@ + # work) - download and unpack it, uncomment and set LZMA_DIR to unpacked source, + # and uncomment the LZMA_SUPPORT line below. + # +-#LZMA_XZ_SUPPORT = 1 ++LZMA_XZ_SUPPORT = 1 + #LZMA_SUPPORT = 1 + #LZMA_DIR = ../../../../LZMA/lzma465 + _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
