summaryrefslogtreecommitdiff
path: root/community/gnustep-make/PKGBUILD
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-01 21:01:37 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-05-01 21:01:37 +0200
commit3bcb803af0dd81dc1d1e3352d8dee1d731d33abb (patch)
tree8c7913d3579ce5b3042ed540164ae430acd0d9af /community/gnustep-make/PKGBUILD
parentab531c3800d58326e89eaa0fe9a071ddc660ff0a (diff)
Update mips64el-specific gnustep-make.
Diffstat (limited to 'community/gnustep-make/PKGBUILD')
-rw-r--r--community/gnustep-make/PKGBUILD27
1 files changed, 15 insertions, 12 deletions
diff --git a/community/gnustep-make/PKGBUILD b/community/gnustep-make/PKGBUILD
index e7191f550..6bbfa795b 100644
--- a/community/gnustep-make/PKGBUILD
+++ b/community/gnustep-make/PKGBUILD
@@ -1,30 +1,33 @@
-# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu>
-# Parabola contributor: André Silva <andre.paulista@adinet.com.uy>
-# $Id$
+# $Id: PKGBUILD 69454 2012-04-16 13:51:34Z spupykin $
# Maintainer: Vesa Kaihlavirta <vegai@iki.fi>
# Contributor: Sebastian Sareyko <public@nooms.de>
pkgname=gnustep-make
pkgver=2.6.2
-pkgrel=1.1
-pkgdesc="The GNUstep make package with exceptions enabled"
+pkgrel=2
+pkgdesc="The GNUstep make package"
arch=('mips64el')
url="http://www.gnustep.org/"
license=('GPL')
-depends=('glibc')
+depends=()
conflicts=('gnustep-make-svn')
groups=('gnustep-core')
-source=(ftp://ftp.gnustep.org/pub/gnustep/core/${pkgname}-$pkgver.tar.gz)
+source=(ftp://ftp.gnustep.org/pub/gnustep/core/$pkgname-$pkgver.tar.gz)
+md5sums=('b926d142debc9f38d75b11019c31889f')
build() {
- cd $srcdir/${pkgname}-$pkgver
- # The option is not needed, but makes clear why we rebuild this.
- ./configure --prefix=/usr --sysconfdir=/etc/GNUstep \
- --enable-native-objc-exceptions
+ cd $srcdir/$pkgname-$pkgver
+ ./configure --prefix=/usr --sysconfdir=/etc/GNUstep
make
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
+
+ sed -i 's|GNUSTEP_HOST_CPU=.*|GNUSTEP_HOST_CPU=mips64el|' $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh
+ sed -i 's|GNUSTEP_HOST=.*|GNUSTEP_HOST=mips64el-unknown-linux-gnu|' $pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh
install -D -m755 \
$pkgdir/usr/share/GNUstep/Makefiles/GNUstep.sh \
$pkgdir/etc/profile.d/GNUstep.sh
}
-md5sums=('b926d142debc9f38d75b11019c31889f')