Date: Monday, January 27, 2014 @ 15:46:51 Author: andyrtr Revision: 204799
archrelease: copy trunk to testing-i686, testing-x86_64 Added: libpcap/repos/testing-i686/ libpcap/repos/testing-i686/PKGBUILD (from rev 204798, libpcap/trunk/PKGBUILD) libpcap/repos/testing-x86_64/ libpcap/repos/testing-x86_64/PKGBUILD (from rev 204798, libpcap/trunk/PKGBUILD) -------------------------+ testing-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ testing-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+) Copied: libpcap/repos/testing-i686/PKGBUILD (from rev 204798, libpcap/trunk/PKGBUILD) =================================================================== --- testing-i686/PKGBUILD (rev 0) +++ testing-i686/PKGBUILD 2014-01-27 14:46:51 UTC (rev 204799) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Thomas Bächler <tho...@archlinux.org> + +pkgname=libpcap +pkgver=1.5.3 +pkgrel=1 +pkgdesc="A system-independent interface for user-level packet capture" +arch=('i686' 'x86_64') +url="http://www.tcpdump.org/" +license=('BSD') +depends=('glibc' 'libnl' 'sh' 'libusbx') +makedepends=('flex' 'bluez-libs') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}) +sha256sums=('9ae92159c1060f15e6a90f2c4ad227268b6aaa382c316fa49a31c496b9979e93' + 'SKIP') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --enable-ipv6 \ + --enable-bluetooth \ + --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + + # 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 +} Copied: libpcap/repos/testing-x86_64/PKGBUILD (from rev 204798, libpcap/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2014-01-27 14:46:51 UTC (rev 204799) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Thomas Bächler <tho...@archlinux.org> + +pkgname=libpcap +pkgver=1.5.3 +pkgrel=1 +pkgdesc="A system-independent interface for user-level packet capture" +arch=('i686' 'x86_64') +url="http://www.tcpdump.org/" +license=('BSD') +depends=('glibc' 'libnl' 'sh' 'libusbx') +makedepends=('flex' 'bluez-libs') +source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz{,.sig}) +sha256sums=('9ae92159c1060f15e6a90f2c4ad227268b6aaa382c316fa49a31c496b9979e93' + 'SKIP') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr \ + --enable-ipv6 \ + --enable-bluetooth \ + --with-libnl + make +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + install -d -m755 ${pkgdir}/usr/bin + make DESTDIR=${pkgdir} install + + # 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 +}