diff options
-rw-r--r-- | testing/py-egenix-mx-base/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/testing/py-egenix-mx-base/APKBUILD b/testing/py-egenix-mx-base/APKBUILD new file mode 100644 index 0000000000..c73080c18e --- /dev/null +++ b/testing/py-egenix-mx-base/APKBUILD @@ -0,0 +1,30 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-egenix-mx-base +_pkgname=egenix-mx-base +pkgver=3.2.3 +pkgrel=0 +pkgdesc="eGenix.com mx Base ccollection of Python extensions" +url="http://www.egenix.com/products/python/mxBase/" +arch="all" +license="Custom" +depends="" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.egenix.com/python/$_pkgname-$pkgver.tar.gz" +_builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} + +md5sums="3797b67158ef18fb5b427ff8eec1e531 egenix-mx-base-3.2.3.tar.gz" |