/[gentoo-x86]/net-misc/vmpsd/vmpsd-1.3-r1.ebuild
Gentoo

Contents of /net-misc/vmpsd/vmpsd-1.3-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (hide annotations) (download)
Mon Jan 14 02:58:39 2008 UTC (12 years ago) by robbat2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Clean up old ebuilds.
(Portage version: 2.1.4)

1 robbat2 1.1 # Copyright 1999-2006 Gentoo Foundation
2     # Distributed under the terms of the GNU General Public License v2
3 robbat2 1.2 # $Header: /var/cvsroot/gentoo-x86/net-misc/vmpsd/vmpsd-1.3-r1.ebuild,v 1.1 2006/09/30 17:25:04 robbat2 Exp $
4 robbat2 1.1
5     inherit eutils
6    
7     DESCRIPTION="An open-source VLAN management system"
8     HOMEPAGE="http://vmps.sourceforge.net"
9     SRC_URI="mirror://sourceforge/vmps/${P}.tar.gz"
10     LICENSE="GPL-2"
11     SLOT="0"
12     KEYWORDS="~x86 ~amd64 ~ppc"
13     IUSE="snmp"
14     DEPEND="virtual/libc
15     snmp? ( net-analyzer/net-snmp )"
16     S="${WORKDIR}/${PN}"
17    
18     src_unpack() {
19     unpack ${A}
20     use snmp && epatch ${FILESDIR}/${P}-snmp-support.patch
21     }
22    
23     src_compile() {
24     econf \
25     --sysconfdir=/etc/vmpsd \
26     `use_enable snmp` \
27     || die "econf failed"
28     emake || die "emake failed"
29     }
30    
31     src_install() {
32     cd "${S}"
33     emake DESTDIR="${D}" install || die
34     dodoc README INSTALL AUTHORS doc/*txt
35     newdoc external/README README.external
36     newdoc tools/README README.tools
37     dodoc external/simple tools/vqpcli.pl
38     }

  ViewVC Help
Powered by ViewVC 1.1.20