Added libpcap-1.1.1 build template.

--HG--
extra : convert_revision : eda0ff99a5628347d24202c595b33991729b49c2
This commit is contained in:
Juan RP 2010-04-12 23:35:11 +02:00
parent 69a4399f8f
commit b73f2e0e0f
5 changed files with 45 additions and 0 deletions

1
srcpkgs/libpcap-devel Symbolic link
View file

@ -0,0 +1 @@
libpcap

2
srcpkgs/libpcap/depends Normal file
View file

@ -0,0 +1,2 @@
abi_depends=">=1.1.1"
api_depends="${abi_depends}"

View file

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

25
srcpkgs/libpcap/template Normal file
View file

@ -0,0 +1,25 @@
# Template file for 'libpcap'
pkgname=libpcap
version=1.1.1
distfiles="http://www.tcpdump.org/release/$pkgname-$version.tar.gz"
build_style=gnu_configure
configure_args="--enable-ipv6"
short_desc="System-independent interface for user-level packet capture"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=508cca15547e55d1318498b838456a21770c450beb2dc7d7d4a96d90816e5a85
long_desc="
This is libpcap, a system-independent interface for user-level packet
capture. libpcap provides a portable framework for low-level network
monitoring. Applications include network statistics collection,
security monitoring, network debugging, etc. Since almost every
system vendor provides a different interface for packet capture, and
since we've developed several tools that require this functionality,
we've created this system-independent API to ease in porting and to
alleviate the need for several system-dependent packet capture modules
in each application."
subpackages="$pkgname-devel"
Add_dependency run glibc
Add_dependency run libnl
Add_dependency build flex
Add_dependency build libnl-devel

View file

@ -555,3 +555,4 @@ libedataserverui-1.2.so evolution-data-server evolution-data-server-devel
libegroupwise-1.2.so.13 evolution-data-server evolution-data-server-devel
libgdata-1.2.so evolution-data-server evolution-data-server-devel
libgdata-google-1.2.so evolution-data-server evolution-data-server-devel
libpcap.so libpcap libpcap-devel