diff options
Diffstat (limited to 'testing/py-impacket/APKBUILD')
-rw-r--r-- | testing/py-impacket/APKBUILD | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/testing/py-impacket/APKBUILD b/testing/py-impacket/APKBUILD new file mode 100644 index 0000000000..2384a271a1 --- /dev/null +++ b/testing/py-impacket/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: Fabian Affolter <fabian@affolter-engineering.ch> +# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> +pkgname=py-impacket +_pkgname=impacket +pkgver=0.9.11 +pkgrel=0 +pkgdesc="A collection of Python classes providing access to network packets" +url="http://code.google.com/p/impacket/" +arch="noarch" +license="ASL 2.0" +depends="python" +depends_dev="" +makedepends="python-dev" +install="" +subpackages="$pkgname-doc" +source="http://pypi.python.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$_pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +md5sums="be93b861437aa0721a4d6904a292f5c6 impacket-0.9.11.tar.gz" +sha256sums="e0b4e5174b869efa35c3068ee55ac3c2364706b59ffc43cd9e3c2f75f5accf2d impacket-0.9.11.tar.gz" +sha512sums="b825437fab65cbf799a62d30ff0749f139f0f16a9a01d9d2ff0fc86be92333b72a7f94ed5fce24dda87212b0c23fa2bcd872e1b6c6143e8528eaa11c920c7a6d impacket-0.9.11.tar.gz" |