aboutsummaryrefslogblamecommitdiffstats
path: root/community/scapy/APKBUILD
blob: 969907304bff850ca10022bd8d5f757b9ecf8623 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            
                                                          
             

            


                                                  
                          
                 
                         
                               
                          

                                                                                      
                                   

         
                      





                              


           
                      
                                                               
 
 
                                                                                                                                                              
# Contributor: Paul Kilar <pkilar@gmail.com>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=scapy
pkgver=2.4.2
pkgrel=0
pkgdesc="Powerful interactive packet manipulation"
url="http://www.secdev.org/projects/scapy/"
arch="noarch"
license="GPL-3.0-or-later"
depends="python2"
makedepends="python2-dev"
install="$pkgname.post-install"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.zip::https://github.com/secdev/$pkgname/archive/v$pkgver.zip"

builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	python2 setup.py build
}

check() {
	cd "$builddir"
	python2 setup.py check
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="1135075a57fd7fe5e3460859ace58939ddd68466d171a7c78aebf95ee4f31bcfc6ea5d7ff7fa2395947866662f61f1c603959dd6b9ae768fe98b0ba4396e190f  scapy-2.4.2.zip"