libpcap: update to 1.3.0.

This commit is contained in:
Juan RP 2012-06-26 09:54:37 +02:00
parent f98951149b
commit 31a41755cf
2 changed files with 12 additions and 10 deletions

View File

@ -1,15 +1,12 @@
# Template file for 'libpcap-devel'. # Template file for 'libpcap-devel'.
# #
depends="libnl-devel libpcap" depends="libnl-devel libpcap>=$version"
short_desc="${short_desc} (development files)" short_desc="${short_desc} (development files)"
long_desc="${long_desc} long_desc="${long_desc}
This package contains files for development, headers, static libs, etc." This package contains files for development, headers, static libs, etc."
do_install() {
do_install()
{
mkdir -p ${DESTDIR}/usr/lib mkdir -p ${DESTDIR}/usr/lib
mv ${SRCPKGDESTDIR}/usr/{include,bin,share} ${DESTDIR}/usr mv ${SRCPKGDESTDIR}/usr/{include,bin,share} ${DESTDIR}/usr
mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib mv ${SRCPKGDESTDIR}/usr/lib/*.a ${DESTDIR}/usr/lib

View File

@ -1,14 +1,17 @@
# Template file for 'libpcap' # Template file for 'libpcap'
pkgname=libpcap pkgname=libpcap
version=1.1.1 version=1.3.0
revision=3 revision=1
distfiles="http://www.tcpdump.org/release/$pkgname-$version.tar.gz"
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-ipv6" configure_args="--enable-ipv6"
makedepends="flex libnl-devel" makedepends="flex libnl-devel"
subpackages="$pkgname-devel"
short_desc="System-independent interface for user-level packet capture" short_desc="System-independent interface for user-level packet capture"
maintainer="Juan RP <xtraeme@gmail.com>" maintainer="Juan RP <xtraeme@gmail.com>"
checksum=508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85 homepage="http://www.tcpdump.org/"
license="BSD"
distfiles="http://www.tcpdump.org/release/$pkgname-$version.tar.gz"
checksum=41cbd9ed68383afd9f1fda279cb78427d36879d9e34ee707e31a16a1afd872b9
long_desc=" long_desc="
This is libpcap, a system-independent interface for user-level packet This is libpcap, a system-independent interface for user-level packet
capture. libpcap provides a portable framework for low-level network capture. libpcap provides a portable framework for low-level network
@ -20,4 +23,6 @@ long_desc="
alleviate the need for several system-dependent packet capture modules alleviate the need for several system-dependent packet capture modules
in each application." in each application."
subpackages="$pkgname-devel" post_install() {
vinstall LICENSE 644 usr/share/licenses/$pkgname
}