Magellan Linux

Contents of /smage/trunk/extras/libpcap/libpcap-1.10.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 16117 - (show annotations) (download)
Thu Sep 7 18:53:46 2023 UTC (8 months, 4 weeks ago) by niro
File size: 1015 byte(s)
-ver bump to 1.10.4-r1
1 # $Id$
2
3 PNAME="libpcap"
4 PVER="1.10.4"
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.7
13 >= sys-libs/libdbus-1.14"
14
15 ALX_LIB32_DEPEND=">= dev-libs/libnl3-lib32-3.7
16 >= sys-libs/libdbus-lib32-1.14"
17
18 SDEPEND=">= sys-dev/flex-2.6
19 >= virtual/pkgconfig
20 >= dev-libs/libnl3-dev-3.7
21 >= sys-libs/libdbus-dev-1.14"
22
23 SRCFILE="${PNAME}-${PVER}.tar.gz"
24 SRCDIR="${BUILDDIR}/${PNAME}-${PVER}"
25
26 ALX_PKG_KEEP="usr/$(MABI=m64 mlibdir)/*.so.*"
27 ALX_LIB32_PKG_KEEP="usr/$(MABI=m32 mlibdir)/*.so.*"
28 sminclude multilib mbuild lib32-split alx-split
29 msetfeature "!check"
30 # todo enable bluetooth (bluez)
31
32 SRC_URI=(
33 http://www.tcpdump.org/release/${SRCFILE}
34 mirror://${PNAME}/${SRCFILE}
35 )
36
37 UP2DATE="updatecmd ${HOMEPAGE} | grep '${PNAME}-' | highesttarball gz"
38
39 src_compile()
40 {
41 cd ${SRCDIR}
42
43 # usb is provided by dbus
44 mconfigure --enable-ipv6 --with-libnl --enable-usb --disable-bluetooth || die
45 mmake || die
46 }