/[gentoo-alt]/trunk/net-analyzer/bsnmp/bsnmp-1.10.ebuild
Gentoo

Contents of /trunk/net-analyzer/bsnmp/bsnmp-1.10.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 545 - (show annotations) (download)
Sun Jul 10 00:28:27 2005 UTC (9 years, 3 months ago) by flameeyes
File size: 841 byte(s)
Added bsnmp with patches for gcc34 and gmake.

1 # Copyright 1999-2005 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header$
4
5 inherit flag-o-matic
6
7 DESCRIPTION="Mini-SNMP Daemon and Library"
8 HOMEPAGE="http://people.freebsd.org/~harti/"
9 SRC_URI="http://people.freebsd.org/~harti/bsnmp/${P}.tar.gz"
10
11 LICENSE="BSD"
12 SLOT="0"
13 KEYWORDS="~x86-fbsd"
14 IUSE="tcpd"
15
16 DEPEND="dev-libs/libbegemot
17 tcpd? ( sys-apps/tcp-wrappers )"
18
19 src_unpack() {
20 unpack ${A}
21 cd ${S}
22
23 epatch ${FILESDIR}/${P}-gcc34.patch
24 epatch ${FILESDIR}/${P}-gmake.patch
25 }
26
27 src_compile() {
28 if use elibc_glibc; then
29 # bsnmp is bsd-based, without this it will fail
30 append-flags "-D_BSD_SOURCE"
31 fi
32
33 econf \
34 --with-libbegemot=/usr \
35 $(use_with tcpd tcpwrappers) \
36 || die "econf failed"
37
38 emake -j1 || die "emake failed"
39 }
40
41 src_install() {
42 einstall || die "make install failed"
43 }

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.20