updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / sendip / PKGBUILD
blobc7c760661742b486117d3a7252f33214bca88284
1 # Maintainer: goodmen-zhengyi <goodmenzy@gmail.com>
3 pkgname=sendip
4 pkgver=2.5
5 pkgrel=2
6 pkgdesc="SendIP is a commandline tool to allow sending arbitrary IP packets."
7 arch=('i686')  # x86_64 has never tested. Who can help ?
8 license=('GPL')
9 url="http://www.earth.li/projectpurple/progs/sendip.html"
10 options=(docs)
11 groups=('')
12 depends=('')
13 source=("http://www.earth.li/projectpurple/files/sendip-2.5.tar.gz")
14 md5sums=('35fa3306f39bfd46d83371da63eec3ad')
16 build() {
17         cd ${srcdir}/$pkgname-$pkgver
18         
19         # patch the source code
20         patch < ${startdir}/$pkgname-$pkgver.patch
21         
22         # compile
23         make PREFIX=/usr                       || return 1
24         make PREFIX=$startdir/pkg/usr install  || return 1