diff options
author | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-02 00:52:16 +0200 |
---|---|---|
committer | Bruno Cichon <ebrasca@librepanther.com> | 2018-10-02 00:52:16 +0200 |
commit | 7201d68c2089f4e83126bcfc72e0658ce920a084 (patch) | |
tree | 606328683e0a12304967f4166fd6bd544564d450 /libre-testing/make | |
parent | 7b0e23aa952d001065f3f2432e4a6c57ac581b5c (diff) | |
download | abslibre-7201d68c2089f4e83126bcfc72e0658ce920a084.tar.gz abslibre-7201d68c2089f4e83126bcfc72e0658ce920a084.tar.bz2 abslibre-7201d68c2089f4e83126bcfc72e0658ce920a084.zip |
Add some base-devel packages for ppc64le
Diffstat (limited to 'libre-testing/make')
-rw-r--r-- | libre-testing/make/PKGBUILD | 40 | ||||
-rw-r--r-- | libre-testing/make/guile-2.2.patch | 15 |
2 files changed, 55 insertions, 0 deletions
diff --git a/libre-testing/make/PKGBUILD b/libre-testing/make/PKGBUILD new file mode 100644 index 000000000..232ee4560 --- /dev/null +++ b/libre-testing/make/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=make +pkgver=4.2.1 +pkgrel=2 +pkgdesc="GNU make utility to maintain groups of programs" +arch=('x86_64' 'ppc64le') +url="http://www.gnu.org/software/make" +license=('GPL3') +groups=('base-devel') +depends=('glibc' 'guile') +source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.bz2{,.sig} + guile-2.2.patch) +md5sums=('15b012617e7c44c0ed482721629577ac' + 'SKIP' + '89bbbe3f806f208608e117665feb562b') +validpgpkeys=('3D2554F0A15338AB9AF1BB9D96B047156338B6D4') # Paul Smith + +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i ${srcdir}/guile-2.2.patch + autoreconf -fi +} + +build() { + cd ${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${pkgname}-${pkgver} + make -k check +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} diff --git a/libre-testing/make/guile-2.2.patch b/libre-testing/make/guile-2.2.patch new file mode 100644 index 000000000..8e4cbc0ff --- /dev/null +++ b/libre-testing/make/guile-2.2.patch @@ -0,0 +1,15 @@ +diff --git a/configure.ac b/configure.ac +index 64ec870..eb1139f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -168,8 +168,8 @@ AC_ARG_WITH([guile], [AS_HELP_STRING([--with-guile], + # comes with it's own PC file so we have to specify them as individual + # packages. Ugh. + AS_IF([test "x$with_guile" != xno], +-[ PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes], +- [PKG_CHECK_MODULES([GUILE], [guile-1.8], [have_guile=yes], ++[ PKG_CHECK_MODULES([GUILE], [guile-2.2], [have_guile=yes], ++ [PKG_CHECK_MODULES([GUILE], [guile-2.0], [have_guile=yes], + [have_guile=no])]) + ]) + |