From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- extra/hercules/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 extra/hercules/PKGBUILD (limited to 'extra/hercules/PKGBUILD') diff --git a/extra/hercules/PKGBUILD b/extra/hercules/PKGBUILD new file mode 100644 index 000000000..e78a2bee3 --- /dev/null +++ b/extra/hercules/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 94782 2010-10-10 23:27:33Z kevin $ +# Contributor: Tom Newsom +# Maintainer: Kevin Piche + +pkgname=hercules +pkgver=3.07 +pkgrel=1 +pkgdesc="A software implementation of the mainframe System/370 and ESA/390 architectures" +url="http://www.hercules-390.org/" +source=(http://www.hercules-390.org/$pkgname-$pkgver.tar.gz) +arch=(i686 x86_64) +license=('custom') +options=(!libtool) +depends=('bzip2' 'libgcrypt' 'zlib') +md5sums=('a12aa1645b0695b25b7fc0c9a3ccab3a') + +build() { + cd $startdir/src/$pkgname-$pkgver + # Change module extension from .la to .so. + sed '/HDL_MODULE_SUFFIX/ s/\.la/.so/' -i hdl.h + ./configure --prefix=/usr + make || return 1 + make prefix=$startdir/pkg/usr install + # license + install -D -m644 COPYRIGHT \ + $startdir/pkg/usr/share/licenses/hercules/qpl1 +} -- cgit v1.2.3-54-g00ecf