Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 215548 | Differences between
and this patch

Collapse All | Expand All

(-)/usr/portage/net-firewall/shorewall-perl/shorewall-perl-4.0.9-r1.ebuild (-9 / +12 lines)
Lines 1-17 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2008 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-firewall/shorewall-perl/shorewall-perl-4.0.9-r1.ebuild,v 1.1 2008/02/27 15:40:07 pva Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-firewall/shorewall-perl/shorewall-perl-4.0.9.ebuild,v 1.2 2008/02/25 18:10:27 pva Exp $
4
5
inherit versionator
4
6
5
# Select version (stable, RC, Beta, upstream patched):
7
# Select version (stable, RC, Beta, upstream patched):
6
MY_P_TREE="4.0"   # stable/devel (eg. "4.0" or "development/4.0")
8
MY_PV_TREE=$(get_version_component_range 1-2)	# for devel versions use "development/$(get_version_component_range 1-2)"
7
MY_P_BETA=""      # stable or experimental (eg. "-RC1" or "-Beta4")
9
MY_P_BETA=""      				# stable or experimental (eg. "-RC1" or "-Beta4")
8
MY_P_PATCH=".1"   # upstream patch (eg. ".2")
10
MY_PV_BASE=$(get_version_component_range 1-3)	# which shorewall-common to use
9
11
10
MY_P="shorewall-${PV}"
12
MY_PN="${PN/-perl/}"
13
MY_P="${MY_PN}-${MY_PV_BASE}${MY_P_BETA}"
11
14
12
DESCRIPTION="Shoreline Firewall Perl-based compiler that allows faster compilation and execution."
15
DESCRIPTION="Shoreline Firewall Perl-based compiler that allows faster compilation and execution."
13
HOMEPAGE="http://www.shorewall.net/"
16
HOMEPAGE="http://www.shorewall.net/"
14
SRC_URI="http://www1.shorewall.net/pub/shorewall/${MY_P_TREE}/${MY_P}${MY_P_BETA}/${P}${MY_P_PATCH}${MY_P_BETA}.tar.bz2"
17
SRC_URI="http://www1.shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/${P}${MY_P_BETA}.tar.bz2"
15
18
16
LICENSE="GPL-2"
19
LICENSE="GPL-2"
17
SLOT="0"
20
SLOT="0"
Lines 24-37 Link Here
24
	dev-lang/perl
27
	dev-lang/perl
25
	!<net-firewall/shorewall-4.0"
28
	!<net-firewall/shorewall-4.0"
26
29
27
PDEPEND="~net-firewall/shorewall-common-${PV}"
30
PDEPEND="~net-firewall/shorewall-common-${MY_PV_BASE}"
28
31
29
src_compile() {
32
src_compile() {
30
	einfo "Nothing to compile."
33
	einfo "Nothing to compile."
31
}
34
}
32
35
33
src_install() {
36
src_install() {
34
	cd "${WORKDIR}/${P}${MY_P_PATCH}${MY_P_BETA}"
37
	cd "${WORKDIR}/${P}${MY_P_BETA}"
35
	PREFIX="${D}" ./install.sh || die "install.sh failed"
38
	PREFIX="${D}" ./install.sh || die "install.sh failed"
36
39
37
	dodoc releasenotes.txt
40
	dodoc releasenotes.txt
Lines 48-53 Link Here
48
	einfo "Please read the included release notes for more information."
51
	einfo "Please read the included release notes for more information."
49
	einfo
52
	einfo
50
	einfo "Known problems:"
53
	einfo "Known problems:"
51
	einfo "http://www1.shorewall.net/pub/shorewall/${MY_P_TREE}/${MY_P}${MY_P_BETA}/known_problems.txt"
54
	einfo "http://www1.shorewall.net/pub/${MY_PN}/${MY_PV_TREE}/${MY_P}/known_problems.txt"
52
	einfo
55
	einfo
53
}
56
}

Return to bug 215548