diff options
Diffstat (limited to 'unmaintained/pcapy/APKBUILD')
-rw-r--r-- | unmaintained/pcapy/APKBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/unmaintained/pcapy/APKBUILD b/unmaintained/pcapy/APKBUILD new file mode 100644 index 0000000000..c688dba60a --- /dev/null +++ b/unmaintained/pcapy/APKBUILD @@ -0,0 +1,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" |