# Maintainer: Natanael Copa pkgname=make pkgver=3.82 pkgrel=6 pkgdesc="GNU make utility to maintain groups of programs" url="http://www.gnu.org/software/make" arch="all" license="GPL3+" depends="" subpackages="$pkgname-doc" source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.bz2 make-3.82-savannah-bugs-30612-30723.patch make-3.82-copy-on-expand.patch make-3.82-memory-corruption.patch make-3.82-jobserver.patch make-3.82-expensive_glob.patch make-3.82-parallel-remake.patch make-3.82-dont-prune-intermediate.patch make-3.82-arg-list-length.patch use-malloc.patch " _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; esac done } build() { cd "$_builddir" ./configure --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --disable-nls make || return 1 make check || return 1 } package() { cd "$_builddir" make DESTDIR="$pkgdir" install || return 1 } md5sums="1a11100f3c63fcf5753818e59d63088f make-3.82.tar.bz2 74e598a2052f7d98e3495ea9d917ecf4 make-3.82-savannah-bugs-30612-30723.patch 9545e667ab5eafdef5b658941290cc26 make-3.82-copy-on-expand.patch 0436e740edbc81cf27fd598241b8dcf0 make-3.82-memory-corruption.patch 923a06973f4bbc9f27c2ca88a6940d45 make-3.82-jobserver.patch f2ed48ea701e8ab6e5b870a3d125b71a make-3.82-expensive_glob.patch 89f8032d2f314eb6338739f024d8ecec make-3.82-parallel-remake.patch 97c9f064c4006c41f29d67febda858af make-3.82-dont-prune-intermediate.patch 1d175e00f931b7d866d2fddcf0c0b302 make-3.82-arg-list-length.patch c5b90dd539b5950ac2cf502f266c66aa use-malloc.patch"