From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/tcpdump/APKBUILD | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 main/tcpdump/APKBUILD (limited to 'main/tcpdump') diff --git a/main/tcpdump/APKBUILD b/main/tcpdump/APKBUILD new file mode 100644 index 0000000000..ad9f5323f4 --- /dev/null +++ b/main/tcpdump/APKBUILD @@ -0,0 +1,24 @@ +# Maintainer: Natanael Copa +pkgname=tcpdump +pkgver=4.0.0 +pkgrel=1 +pkgdesc="A tool for network monitoring and data acquisition" +url="http://www.tcpdump.org" +license="BSD" +depends="libpcap openssl" +makedepends="libpcap-dev openssl-dev" +source="http://www.$pkgname.org/release/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-doc" + +build () +{ + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --enable-ipv6 + make || return 1 + make DESTDIR="$pkgdir" install + rm -f "$pkgdir"/usr/sbin/tcpdump.4* +} + +md5sums="b22ca72890df2301d922c9f2d17867f9 tcpdump-4.0.0.tar.gz" -- cgit v1.2.3