diff options
author | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 01:50:33 (GMT) |
---|---|---|
committer | Michael Hanson <hansonorders@verizon.net> | 2010-11-30 01:50:33 (GMT) |
commit | 80be386e90315f4e0828fc003d88d9f86d17a466 (patch) | |
tree | 9619d9728a27eec7d5a45bf3b15b0bbb2b2b18d9 /abs/core/libpcap | |
parent | e629e5ac7f2982d6f86b48581e1da49ec1ea0d89 (diff) | |
download | linhes_pkgbuild-80be386e90315f4e0828fc003d88d9f86d17a466.zip linhes_pkgbuild-80be386e90315f4e0828fc003d88d9f86d17a466.tar.gz linhes_pkgbuild-80be386e90315f4e0828fc003d88d9f86d17a466.tar.bz2 |
libpcap: upgrade
Diffstat (limited to 'abs/core/libpcap')
-rw-r--r-- | abs/core/libpcap/PKGBUILD | 16 | ||||
-rw-r--r-- | abs/core/libpcap/__changelog | 1 |
2 files changed, 10 insertions, 7 deletions
diff --git a/abs/core/libpcap/PKGBUILD b/abs/core/libpcap/PKGBUILD index e5c11e2..d471be1 100644 --- a/abs/core/libpcap/PKGBUILD +++ b/abs/core/libpcap/PKGBUILD @@ -1,29 +1,31 @@ -# $Id: PKGBUILD 20200 2008-12-01 17:56:56Z thomas $ +# $Id: PKGBUILD 77149 2010-04-11 11:02:48Z thomas $ # Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=libpcap -pkgver=1.0.0 +pkgver=1.1.1 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') +depends=('glibc' 'libnl') makedepends=('flex') source=(http://www.tcpdump.org/release/libpcap-${pkgver}.tar.gz) -md5sums=('9ad1358c5dec48456405eac197a46d3d') +sha256sums=('508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr --enable-ipv6 make || return 1 make shared || return 1 +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} 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 +# ln -s libpcap.so.${pkgver} ${pkgdir}/usr/lib/libpcap.so.1 +# ln -s libpcap.so.${pkgver} ${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 diff --git a/abs/core/libpcap/__changelog b/abs/core/libpcap/__changelog new file mode 100644 index 0000000..381637b --- /dev/null +++ b/abs/core/libpcap/__changelog @@ -0,0 +1 @@ +PKGBUILD: comment out calls to create symlinks to libpcap.so...they already exist |