mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
24 lines
714 B
Bash
24 lines
714 B
Bash
# $Id: PKGBUILD 20222 2008-12-01 18:19:57Z thomas $
|
|
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
|
# Contributor: dorphell <dorphell@archlinux.org>
|
|
|
|
pkgname=tcpdump
|
|
pkgver=4.0.0
|
|
pkgrel=2
|
|
pkgdesc="A tool for network monitoring and data acquisition"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.tcpdump.org"
|
|
license=('BSD')
|
|
depends=('libpcap>=1.0.0' 'openssl')
|
|
source=(http://www.tcpdump.org/release/${pkgname}-${pkgver}.tar.gz)
|
|
md5sums=('b22ca72890df2301d922c9f2d17867f9')
|
|
|
|
build() {
|
|
cd ${srcdir}/${pkgname}-${pkgver}
|
|
./configure --prefix=/usr --enable-ipv6
|
|
make || return 1
|
|
make DESTDIR=${pkgdir}/ install
|
|
|
|
#install the license
|
|
install -D -m644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
|
|
}
|