/[gentoo-x86]/net-misc/nstx/nstx-1.1_beta6-r3.ebuild
Gentoo

Diff of /net-misc/nstx/nstx-1.1_beta6-r3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.2 Revision 1.3
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2010 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/net-misc/nstx/nstx-1.1_beta6-r3.ebuild,v 1.2 2010/05/30 16:34:53 phajdan.jr Exp $ 3# $Header: /var/cvsroot/gentoo-x86/net-misc/nstx/nstx-1.1_beta6-r3.ebuild,v 1.3 2010/07/05 07:31:13 xarthisius Exp $
4 4
5inherit versionator toolchain-funcs eutils linux-info 5inherit versionator toolchain-funcs eutils linux-info
6 6
7MY_PV=$(replace_version_separator 2 - "${PV}") 7MY_PV=$(replace_version_separator 2 - "${PV}")
8MY_P="${PN}-${MY_PV}" 8MY_P="${PN}-${MY_PV}"
24 24
25CONFIG_CHECK="~TUN" 25CONFIG_CHECK="~TUN"
26 26
27src_unpack() { 27src_unpack() {
28 unpack "${MY_P}.tgz" 28 unpack "${MY_P}.tgz"
29 epatch "${DISTDIR}"/${DEBIAN_A} 29 epatch "${DISTDIR}"/${DEBIAN_A} \
30 epatch "${FILESDIR}"/${PN}-1.1_beta6_00-linux-tuntap.patch 30 "${FILESDIR}"/${PN}-1.1_beta6_00-linux-tuntap.patch \
31 epatch "${FILESDIR}"/${PN}-1.1_beta6_01-bind-interface-name.patch 31 "${FILESDIR}"/${PN}-1.1_beta6_01-bind-interface-name.patch \
32 epatch "${FILESDIR}"/${PN}-1.1_beta6_02-warn-on-frag.patch 32 "${FILESDIR}"/${PN}-1.1_beta6_02-warn-on-frag.patch \
33 epatch "${FILESDIR}"/${PN}-1.1_beta6_03-delete-dwrite.patch 33 "${FILESDIR}"/${PN}-1.1_beta6_03-delete-dwrite.patch \
34 epatch "${FILESDIR}"/${PN}-1.1_beta6_04-delete-werror.patch 34 "${FILESDIR}"/${PN}-1.1_beta6_04-delete-werror.patch \
35 "${FILESDIR}"/${PN}-1.1_beta6_05-respect-ldflags.patch
35} 36}
36 37
37src_compile() { 38src_compile() {
38 emake CC="$(tc-getCC)" || die 39 emake CC="$(tc-getCC)" || die
39} 40}
40 41
41src_install() { 42src_install() {
42 into /usr 43 into /usr
43 dosbin nstxcd nstxd 44 dosbin nstxcd nstxd || die
44 dodoc README Changelog 45 dodoc README Changelog || die
45 doman *.8 46 doman *.8 || die
46 47
47 newinitd "${FILESDIR}"/nstxd.init nstxd 48 newinitd "${FILESDIR}"/nstxd.init nstxd
48 newconfd "${FILESDIR}"/nstxd.conf nstxd 49 newconfd "${FILESDIR}"/nstxd.conf nstxd
49 newinitd "${FILESDIR}"/nstxcd.init nstxcd 50 newinitd "${FILESDIR}"/nstxcd.init nstxcd
50 newconfd "${FILESDIR}"/nstxcd.conf nstxcd 51 newconfd "${FILESDIR}"/nstxcd.conf nstxcd

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20