aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-m2crypto/APKBUILD
blob: 4719b4e0e549136f2479063419ff521c147ab6f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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"