diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-10-11 15:41:03 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-10-11 15:48:00 +0200 |
commit | 892141e688d38ae613e87d0c191c44f964f9b9b7 (patch) | |
tree | 90c59340bf7478a1efc3e7e2b31aa29b78be6e91 /testing/opensp | |
parent | df2a474c10eddd66838d082afec67a242100c2f2 (diff) | |
download | aports-892141e688d38ae613e87d0c191c44f964f9b9b7.tar.bz2 aports-892141e688d38ae613e87d0c191c44f964f9b9b7.tar.xz |
testing/opensp: lowercase license name and update configure flags
Also make sure that the custom license gets installed.
Diffstat (limited to 'testing/opensp')
-rw-r--r-- | testing/opensp/APKBUILD | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/testing/opensp/APKBUILD b/testing/opensp/APKBUILD index 74060caa99..ab05fe2120 100644 --- a/testing/opensp/APKBUILD +++ b/testing/opensp/APKBUILD @@ -1,4 +1,6 @@ +# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net> # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> +# Maintainer: pkgname=opensp _realname=OpenSP pkgver=1.5.1 @@ -6,23 +8,21 @@ pkgrel=0 pkgdesc="Implementation of the DSSSL style language" url="http://openjade.sourceforge.net" arch="all" -license="Custom" -depends= -depends_dev= +license="custom" +depends="" +depends_dev="" makedepends="$depends_dev" -install= +install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="http://prdownloads.sourceforge.net/openjade/$_realname-$pkgver.tar.gz opensp-1.5-wideCharMax-fix.patch opensp-1.5-InternalInputSource-fix.patch - opensp-1.5-install.patch - " - + opensp-1.5-install.patch" _builddir="$srcdir"/$_realname-$pkgver - prepare() { cd "$_builddir" + update_config_sub || return 1 for i in $source; do case $i in *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; @@ -32,17 +32,23 @@ prepare() { build() { cd "$_builddir" - ./configure --prefix=/usr \ + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --infodir=/usr/share/info + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 make || return 1 } package() { cd "$_builddir" - make DESTDIR="$pkgdir" install - + make DESTDIR="$pkgdir" install || return 1 + install -Dm644 "$_builddir"/COPYING \ + "$pkgdir"/usr/share/licenses/$pkgname/COPYING || return 1 } md5sums="f46fe0a04b76a4454ec27b7fcc84ec54 OpenSP-1.5.1.tar.gz |