aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/pcapy/APKBUILD
blob: c688dba60ae5369388038a1d043e878877c0def4 (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="0223adaa81726e5a4699a93bfaf0c8de  pcapy-0.10.8.tar.gz"
sha256sums="b0a3b97e84489f4f0cac82a8cdb2ccdbbd5279dc0b55d3ef4866f7df3e7d4bd3  pcapy-0.10.8.tar.gz"
sha512sums="94d5ef53d069df938205770223a03d4ae753e7c53a1905687b8cb3b308d58c01cf22b340ff6b9f77225b0c733ad5f2d9d0b57a766163832efbaf216b0125554b  pcapy-0.10.8.tar.gz"