diff options
author | ScrumpyJack <scrumpyjack@me.com> | 2015-03-26 21:21:38 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2015-04-16 12:23:18 +0000 |
commit | 4f03b52669ce6c12804623daf48c16570b4313b2 (patch) | |
tree | ca37f24c0a9a95e14a2647c33ed39ee87905dfcf /testing/libmaa/APKBUILD | |
parent | 8c21091a1d1104a5c4a9f8f5edf811c649a3b1fe (diff) | |
download | aports-4f03b52669ce6c12804623daf48c16570b4313b2.tar.bz2 aports-4f03b52669ce6c12804623daf48c16570b4313b2.tar.xz |
testing/libmaa: new aport
Provides many low-level data structures which are helpful for writing compilers
http://sourceforge.net/projects/dict/
Signed-off-by: Leonardo Arena <rnalrd@alpinelinux.org>
Diffstat (limited to 'testing/libmaa/APKBUILD')
-rw-r--r-- | testing/libmaa/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/libmaa/APKBUILD b/testing/libmaa/APKBUILD new file mode 100644 index 0000000000..fb9b471c25 --- /dev/null +++ b/testing/libmaa/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: ScrumpyJack <scrumpyjack@me.com> +# Maintainer: +pkgname=libmaa +pkgver=1.3.2 +pkgrel=0 +pkgdesc="Provides many low-level data structures which are helpful for writing compilers" +url="http://sourceforge.net/projects/dict/" +arch="all" +license="GPL" +depends="" +depends_dev="" +makedepends="libtool perl flex" +install="" +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/dict/${pkgname}-${pkgver}.tar.gz" +options="libtool" +_builddir="${srcdir}/${pkgname}-${pkgver}" +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr + make +} + +package() { + cd "$_builddir" + make DESTDIR="${pkgdir}" install +} + +md5sums="01dab2cde2e0a322653e45bfa63537ee libmaa-1.3.2.tar.gz" +sha256sums="59a5a01e3a9036bd32160ec535d25b72e579824e391fea7079e9c40b0623b1c5 libmaa-1.3.2.tar.gz" +sha512sums="dde91e8bf1c08515ff4662282d16a03b18a1dfb16eb7b95be980ba398ed1e65d8cd88e58d454e03a03f48a5ecca8bf23b4ebaf475a98630a9178318c12a1b176 libmaa-1.3.2.tar.gz" |