summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/libpcap/PKGBUILD
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-10-23 18:17:40 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-10-23 18:19:39 (GMT)
commitadbcf19958300e9b6598990184c8815b945ba0ee (patch)
treef4283c850ac0ac202c17e78a637ee7ca8147621b /abs/core-testing/libpcap/PKGBUILD
parent61a68250df10d29b624650948484898334ff22d0 (diff)
downloadlinhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.zip
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.gz
linhes_pkgbuild-adbcf19958300e9b6598990184c8815b945ba0ee.tar.bz2
Removed old core and extra from repo. Renamed -testing to core/extra. This will setup the base for the testing branch.
Diffstat (limited to 'abs/core-testing/libpcap/PKGBUILD')
-rw-r--r--abs/core-testing/libpcap/PKGBUILD34
1 files changed, 0 insertions, 34 deletions
diff --git a/abs/core-testing/libpcap/PKGBUILD b/abs/core-testing/libpcap/PKGBUILD
deleted file mode 100644
index e5c11e2..0000000
--- a/abs/core-testing/libpcap/PKGBUILD
+++ /dev/null
@@ -1,34 +0,0 @@
-# $Id: PKGBUILD 20200 2008-12-01 17:56:56Z thomas $
-# Maintainer: Thomas Bächler <thomas@archlinux.org>
-
-pkgname=libpcap
-pkgver=1.0.0
-pkgrel=1
-pkgdesc="A system-independent interface for user-level packet capture"
-arch=('i686' 'x86_64')
-url="http://www.tcpdump.org/"
-license=('BSD')
-groups=('base')
-depends=('glibc')
-makedepends=('flex')
-source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz)
-md5sums=('9ad1358c5dec48456405eac197a46d3d')
-
-build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- ./configure --prefix=/usr --enable-ipv6
- make || return 1
- make shared || return 1
-
- install -d -m755 ${pkgdir}/usr/bin
- make DESTDIR=${pkgdir} install install-shared || return 1
- ln -s libpcap.so.1.0.0 ${pkgdir}/usr/lib/libpcap.so.1
- ln -s libpcap.so.1.0.0 ${pkgdir}/usr/lib/libpcap.so
- # backwards compatibility, programs often look for net/bpf.h
- mkdir -p ${pkgdir}/usr/include/net
- cd ${pkgdir}/usr/include/net
- ln -s ../pcap-bpf.h bpf.h
-
- #install the license
- install -D -m644 ${srcdir}/$pkgname-$pkgver/LICENSE ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
-}