aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-sip/APKBUILD
blob: 1fc785ab34c2e266b4d2f436c9abcd7bc0dd151c (plain) (blame)
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
29
30
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer:
pkgname=py-sip
_pkgname=sip
pkgver=4.13.2
pkgrel=0
pkgdesc="A tool that makes it easy to create Python bindings for C and C++ libraries"
url="http://www.riverbankcomputing.com/software/sip/"
arch="all"
license="custom:sip"
depends=
depends_dev="python-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://www.riverbankcomputing.com/static/Downloads/sip4/${_pkgname}-${pkgver}.tar.gz"
_builddir="$srcdir"/$_pkgname-$pkgver
build() {
	cd "$_builddir"
	python configure.py
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/custom/${pkgname}/LICENSE
}

md5sums="5a12ea8e8a09b879ed2b3817e30fbc84  sip-4.13.2.tar.gz"