/[gentoo-x86]/net-misc/vmnet/vmnet-0.4.ebuild
Gentoo

Contents of /net-misc/vmnet/vmnet-0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations) (download)
Thu Oct 28 09:39:53 2010 UTC (9 years, 1 month ago) by ssuominen
Branch: MAIN
CVS Tags: HEAD
Changes since 1.9: +3 -3 lines
fix quoting

(Portage version: 2.2.0_alpha1/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/vmnet/vmnet-0.4.ebuild,v 1.9 2006/03/25 19:39:08 robbat2 Exp $
4
5 inherit eutils flag-o-matic
6
7 DESCRIPTION="A simple virtual networking program - SLIP over stdin/out"
8 HOMEPAGE="ftp://ftp.xos.nl/pub/linux/vmnet/"
9 # The main site is often down
10 # So this might be better but it's a different filename
11 # http://ftp.debian.org/debian/pool/main/${PN:0:1}/${PN}/${P/-/_}.orig.tar.gz
12 # We use the debian patch anyway
13 SRC_URI="ftp://ftp.xos.nl/pub/linux/${PN}/${P}.tar.gz
14 mirror://debian/pool/main/${PN:0:1}/${PN}/${P/-/_}-1.diff.gz"
15
16 LICENSE="GPL-2"
17 SLOT="0"
18 KEYWORDS="~amd64 ~ppc x86"
19 IUSE=""
20
21 DEPEND="sys-apps/net-tools"
22
23 src_unpack() {
24 unpack ${P}.tar.gz
25 epatch "${DISTDIR}"/${P/-/_}-1.diff.gz
26 }
27
28 src_compile() {
29 append-ldflags -Wl,-z,now
30 emake || die "Emake failed"
31 }
32
33 src_install() {
34 dobin ${PN} || die "dobin"
35 fperms 4711 /usr/bin/${PN} || die "fperms"
36
37 doman ${PN}.1
38 dodoc README debian/${PN}.sgml
39
40 insinto /etc
41 doins debian/${PN}.conf
42 }
43
44 pkg_postinst() {
45 einfo "Don't forgot to ensure SLIP support is in your kernel!"
46 }

  ViewVC Help
Powered by ViewVC 1.1.20