aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/py-m2crypto/APKBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/testing/py-m2crypto/APKBUILD b/testing/py-m2crypto/APKBUILD
new file mode 100644
index 0000000000..4719b4e0e5
--- /dev/null
+++ b/testing/py-m2crypto/APKBUILD
@@ -0,0 +1,28 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer:
+pkgname=py-m2crypto
+_pkgname=M2Crypto
+pkgver=0.21.1
+pkgrel=0
+pkgdesc="A crypto and SSL toolkit for Python"
+url="http://chandlerproject.org/bin/view/Projects/MeTooCrypto"
+arch="all"
+license="BSD"
+depends=""
+depends_dev=
+makedepends="python-dev swig openssl-dev"
+install=""
+subpackages=""
+source="http://pypi.python.org/packages/source/M/$_pkgname/$_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
+}
+md5sums="f93d8462ff7646397a9f77a2fe602d17 M2Crypto-0.21.1.tar.gz"