# Maintainer: PktSurf app=mtd-utils version=2.1.1 nandversion=1.5.2 build=1sml homepage="http://www.linux-mtd.infradead.org/" desc="A collection of utiltiies for dealing with memory technology and NAND devices" requires="lzo util-linux " prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions ( tar xf $srcdir/nand-utils-$nandversion.tar.?z* cd nand-utils-$nandversion fixbuilddirpermissions ) } build() { ./configure \ --prefix=/usr \ --sbindir=/usr/bin \ --without-zstd make make install DESTDIR=$pkg cp COPYING $pkgdocs/ ( cd nand-utils-$nandversion make make install SBINDIR="/usr/bin" MANDIR="/usr/share/man" DESTDIR=$pkg cp COPYING $pkgdocs/COPYING.nand-utils ) mkfinalpkg } sha512sums=" 5276509d847a099edccefb2f92a0bfc8e6811cf93f5b557198702219e72f578648a86cfa106be5f2767edb2d551fc8f56f143b826bb3e1eb98be9082367e0826 mtd-utils-2.1.1.tar.lz 8fe1a674dce4165ed242253b315c232a6cfccc07989c7ac943d460748597113ff1629e31152ac9f370624fd755620613efd4dfd270f3817e09a458e0b3d8f580 nand-utils-1.5.2.tar.lz "