Contents of /smage/trunk/extras/libpcap/libpcap-1.9.0-r1.smage2
Parent Directory | Revision Log
Revision 13041 -
(show annotations)
(download)
Mon Mar 18 14:54:42 2019 UTC (5 years, 6 months ago) by niro
File size: 834 byte(s)
Mon Mar 18 14:54:42 2019 UTC (5 years, 6 months ago) by niro
File size: 834 byte(s)
auto added: ver bump to 1.9.0-r1
1 | # $Id$ |
2 | |
3 | PNAME="libpcap" |
4 | PVER="1.9.0" |
5 | PBUILD="r1" |
6 | |
7 | PCAT="net-libs" |
8 | |
9 | DESCRIPTION="A system-independent interface for user-level packet capture." |
10 | HOMEPAGE="http://www.tcpdump.org/" |
11 | |
12 | DEPEND=">= dev-libs/libnl3-3.2 |
13 | >= dev-libs/libusb-1.0.9" |
14 | |
15 | SDEPEND=">= sys-dev/flex-2.5.35 |
16 | >= dev-util/pkgconfig-0.25 |
17 | >= dev-libs/libnl3-dev-3.2 |
18 | >= dev-libs/libusb-dev-1.0.9" |
19 | |
20 | SRCFILE="${PNAME}-${PVER}.tar.gz" |
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" |
22 | |
23 | ALX_PKG_KEEP="usr/$(mlibdir)/*.so.*" |
24 | sminclude mbuild alx-split |
25 | msetfeature "!check" |
26 | |
27 | SRC_URI=( |
28 | http://www.tcpdump.org/release/${SRCFILE} |
29 | mirror://${PNAME}/${SRCFILE} |
30 | ) |
31 | |
32 | UP2DATE="updatecmd ${HOMEPAGE} | grep '${PNAME}-' | highesttarball gz" |
33 | |
34 | src_compile() |
35 | { |
36 | cd ${SRCDIR} |
37 | |
38 | # broken? |
39 | CFLAGS="${CLFAGS} $(pkg-config --cflags libnl-3.0)" \ |
40 | mconfigure --enable-ipv6 --with-libnl || die |
41 | mmake || die |
42 | } |