# vim: set syn=sh et ai sw=2 st=2 ts=2 tw=0: #Packager: JRD pkgname=squashfs-tools pkgver=4.2 pkgrel=1cp #arch=noarch source=(http://downloads.sourceforge.net/squashfs/squashfs${pkgver}.tar.gz) sourcetemplate=http://enialis.net/~jrd/salix/$pkgname/$pkgver-\$arch-$pkgrel/ docs=("readme" "readme-$pkgver" "install" "copying" "changes" "donation" "acknowledgements" "performance.readme" "pseudo-file.example") url=http://sourceforge.net/projects/squashfs slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (tools for manipulate squashfs FS)" "With this tools, you can create a squashfs FS or extract from it." "It supports GZIP, LZO, LZMA and XZ compression." ) build() { cd $startdir/src/squashfs${pkgver}/squashfs-tools sed -i 's/#\(XZ_SUPPORT = 1\)/\1/; s/#\(LZO_SUPPORT = 1\)/\1/; s/#\(LZMA_XZ_SUPPORT = 1\)/\1/; s:^\(INSTALL_DIR = \).*:\1\$(DESTDIR)/usr/bin:' Makefile make -j $numjobs || return 1 make install DESTDIR=$startdir/pkg || return 1 }