core/make/PKGBUILD

58 lines
1.3 KiB
Bash
Raw Normal View History

2012-03-17 23:40:31 +08:00
#
# Chakra Packages, part of chakra-project.org
#
# maintainer: abveritas@chakra-project.org>
2010-03-13 23:25:19 +08:00
pkgname=make
2012-03-17 23:40:31 +08:00
pkgver=3.82
pkgrel=1
2010-03-13 23:25:19 +08:00
pkgdesc="GNU make utility to maintain groups of programs"
2010-05-16 23:08:55 +08:00
arch=('i686' 'x86_64')
2010-03-13 23:25:19 +08:00
url="http://www.gnu.org/software/make"
2012-03-17 23:40:31 +08:00
license=('GPL3')
2010-03-13 23:25:19 +08:00
groups=('base-devel')
2010-05-16 23:08:55 +08:00
depends=('glibc' 'sh')
2010-03-13 23:25:19 +08:00
install=$pkgname.install
2012-03-17 23:40:31 +08:00
source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2
bug30612.patch
bug30723.patch
make-3.82-sort-blank.patch
make-3.82-makeflags.patch)
md5sums=('1a11100f3c63fcf5753818e59d63088f'
'c8f496b22191f9fb9420ab14c1a19a47'
'662e6450e19a5acdaa5c9fcb8ad78dea'
'7d01a99f389d8f08dec93ed479071ee4'
'c62acc8a2925362bd780cb5d4206d5c3')
2010-03-13 23:25:19 +08:00
build() {
cd ${srcdir}/${pkgname}-${pkgver}
2012-03-17 23:40:31 +08:00
# http://savannah.gnu.org/bugs/?30612
patch -Np1 -i $srcdir/bug30612.patch
# http://savannah.gnu.org/bugs/?30723
patch -Np1 -i $srcdir/bug30723.patch
# fix from Fedora
patch -Np1 -i $srcdir/make-3.82-sort-blank.patch
# https://savannah.gnu.org/support/index.php?107487
# https://savannah.gnu.org/bugs/?33873
patch -Np0 -i $srcdir/make-3.82-makeflags.patch
./configure --prefix=/usr
2010-05-16 23:08:55 +08:00
make
}
2010-03-13 23:25:19 +08:00
2012-03-17 23:40:31 +08:00
check() {
cd ${srcdir}/${pkgname}-${pkgver}
make check
}
2010-05-16 23:08:55 +08:00
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
2010-03-13 23:25:19 +08:00
}