summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/gip/gip-1.0.0.1.ebuild')
-rw-r--r--net-misc/gip/gip-1.0.0.1.ebuild28
1 files changed, 17 insertions, 11 deletions
diff --git a/net-misc/gip/gip-1.0.0.1.ebuild b/net-misc/gip/gip-1.0.0.1.ebuild
index d85a5fe28f6e..e28c0155c5d4 100644
--- a/net-misc/gip/gip-1.0.0.1.ebuild
+++ b/net-misc/gip/gip-1.0.0.1.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/gip/gip-1.0.0.1.ebuild,v 1.1 2004/06/25 02:15:51 jmglov Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/gip/gip-1.0.0.1.ebuild,v 1.1.1.1 2005/11/30 09:54:54 chriswhite Exp $
-MY_PV=`echo ${PV} | sed -e 's/.\([0-9]\+\)$/-\1/' 2>/dev/null`
-MY_P="${PN}-${MY_PV}"
-DESCRIPTION="a nice GNOME GUI for making IP address based calculations"
-HOMEPAGE="http://www.debain.org/?session=&site=2&project=19&cat=56"
+inherit versionator
+
+MY_P="${PN}-$(replace_version_separator 3 '-')"
+DESCRIPTION="A nice GNOME GUI for making IP address based calculations"
+HOMEPAGE="http://www.debain.org/software/gip/"
SRC_URI="http://web222.mis02.de/releases/gip/${MY_P}.tar.gz"
LICENSE="GPL-2"
@@ -13,17 +14,22 @@ SLOT="0"
KEYWORDS="~x86"
IUSE=""
-DEPEND="dev-cpp/gtkmm
- >=dev-libs/glib-2.2.3"
-#RDEPEND=""
+DEPEND="=dev-cpp/gtkmm-2.2*
+ >=dev-libs/glib-2.2.3
+ =dev-libs/libsigc++-1.2*"
+
+S="${WORKDIR}/${MY_P}"
-S=${WORKDIR}/${MY_P}
+src_unpack() {
+ unpack ${A}
+ sed -i -e s/"*matches\["/"*matches\[1+"/g ${S}/src/lib_ipv4.c
+}
src_compile() {
./build.sh --prefix ${D}/usr || die "./build failed"
}
src_install() {
- dodoc AUTHORS COPYING INSTALL README
+ dodoc AUTHORS INSTALL README
./build.sh --install --prefix ${D}/usr || die "./build --install failed"
}