Magellan Linux

Annotation of /smage/branches/alx07x-stable/extras/libpcap/libpcap-1.9.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 14342 - (hide annotations) (download)
Thu Jul 9 09:02:34 2020 UTC (3 years, 11 months ago) by niro
Original Path: smage/trunk/extras/libpcap/libpcap-1.9.1-r1.smage2
File size: 833 byte(s)
auto added: ver bump to 1.9.1-r1
1 niro 14342 # $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     }