Contents of /smage/branches/alx07x-unstable/extras/libpcap/libpcap-1.9.1-r1.smage2
Parent Directory | Revision Log
Revision 14807 -
(show annotations)
(download)
Tue Aug 4 12:18:50 2020 UTC (4 years, 1 month ago) by niro
File size: 833 byte(s)
Tue Aug 4 12:18:50 2020 UTC (4 years, 1 month ago) by niro
File size: 833 byte(s)
-release branches/alx07x-unstable
1 | # $Id$ |
2 | |
3 | PNAME="libpcap" |
4 | PVER="1.9.1" |
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.5 |
13 | >= dev-libs/libusb-1.0.23" |
14 | |
15 | SDEPEND=">= sys-dev/flex-2.6 |
16 | >= dev-util/pkgconfig-0.25 |
17 | >= dev-libs/libnl3-dev-3.5 |
18 | >= dev-libs/libusb-dev-1.0.23" |
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 | } |