summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeemant Kulleen <seemant@gentoo.org>2007-07-27 14:59:02 +0000
committerSeemant Kulleen <seemant@gentoo.org>2007-07-27 14:59:02 +0000
commit9bfee8416e43b51b28295ac97046aa722d8c9176 (patch)
tree1e4b6b1b9feea8f270642ca18aa8781c57b5b3d8 /net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild
parentAdd USE examples. (diff)
downloadgentoo-2-9bfee8416e43b51b28295ac97046aa722d8c9176.tar.gz
gentoo-2-9bfee8416e43b51b28295ac97046aa722d8c9176.tar.bz2
gentoo-2-9bfee8416e43b51b28295ac97046aa722d8c9176.zip
fix the version info in the SRC_URI mangling so that the fetch succeeds
(Portage version: 2.1.3_rc9)
Diffstat (limited to 'net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild')
-rw-r--r--net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild10
1 files changed, 6 insertions, 4 deletions
diff --git a/net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild b/net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild
index 20f7cd0f96d0..12aaa562ee0b 100644
--- a/net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild
+++ b/net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild
@@ -1,14 +1,16 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild,v 1.1 2007/07/27 12:18:21 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dns/bind-tools/bind-tools-9.4.1_p1.ebuild,v 1.2 2007/07/27 14:59:02 seemant Exp $
inherit flag-o-matic
-MY_P=${P//-tools}
-S=${WORKDIR}/${MY_P/_p1/-P1}
+MY_PN=${PN//-tools}
+MY_PV=${PV/_p/-P}
+MY_P=${MY_PN}-${MY_PV}
+S=${WORKDIR}/${MY_P}
DESCRIPTION="bind tools: dig, nslookup, and host"
HOMEPAGE="http://www.isc.org/products/BIND/bind9.html"
-SRC_URI="ftp://ftp.isc.org/isc/bind9/${PV}/${MY_P/_p1/-P1}.tar.gz"
+SRC_URI="ftp://ftp.isc.org/isc/bind9/${MY_PV}/${MY_P}.tar.gz"
LICENSE="as-is"
SLOT="0"