summaryrefslogtreecommitdiffstats
path: root/testing/pcapy/APKBUILD
blob: dd9971ec3043e34b8f76ecc9290290a9f004380f (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: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=pcapy
pkgver=0.10.5
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="http://oss.coresecurity.com/repo/$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="1dcff6af494f3d6763f457aa86aa0853  pcapy-0.10.5.tar.gz"