aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pcapy/APKBUILD
blob: d2417573a4281029bb20c4d7ea43cfcc0694c0cd (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
29
30
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=pcapy
pkgver=0.10.8
pkgrel=0
pkgdesc="Module to interfaces with the libpcap packet capture library"
url="http://oss.coresecurity.com/projects/pcapy.html"
arch="all"
license="ASL"
depends=""
depends_dev=""
makedepends="python-dev libpcap-dev"
install=""
subpackages="$pkgname-doc"
source="pcapy-$pkgver.tar.gz::https://github.com/CoreSecurity/pcapy/archive/0.10.8.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="f975fa8f0f6b51cf607649d28e2ccb5a  pcapy-0.10.8.tar.gz"
sha256sums="67c8a8410eb7e319c3afadaf290a81d48209c88a5020f11a8570265f5971975c  pcapy-0.10.8.tar.gz"
sha512sums="ccb2b5035a3992b945470b871a79f7446e85a65584469b1fa34a1de9cb24fc755f9482dba712ca97fe16a0227ecedb07f1e7d05729967b9c709ac0203ecba38f  pcapy-0.10.8.tar.gz"