diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-07-26 13:48:44 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-07-26 13:48:44 +0000 |
commit | 11d181c4e76463382f20a963601e208a1384f0e2 (patch) | |
tree | 59986f08985bb86242a7464c590d874d648cdccb /net-misc/gip/gip-1.7.0.1.ebuild | |
parent | Bump to rev15 (diff) | |
download | gentoo-2-11d181c4e76463382f20a963601e208a1384f0e2.tar.gz gentoo-2-11d181c4e76463382f20a963601e208a1384f0e2.tar.bz2 gentoo-2-11d181c4e76463382f20a963601e208a1384f0e2.zip |
net-misc/gip: Version Bump; respect the *FLAGS, #427874
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/gip/gip-1.7.0.1.ebuild')
-rw-r--r-- | net-misc/gip/gip-1.7.0.1.ebuild | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/net-misc/gip/gip-1.7.0.1.ebuild b/net-misc/gip/gip-1.7.0.1.ebuild new file mode 100644 index 000000000000..95e3c6353cb8 --- /dev/null +++ b/net-misc/gip/gip-1.7.0.1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/gip/gip-1.7.0.1.ebuild,v 1.1 2012/07/26 13:48:44 jlec Exp $ + +EAPI=4 + +inherit eutils versionator + +MY_PV="$(replace_version_separator 3 '-')" +MY_P="${PN}-${MY_PV}" + +DESCRIPTION="A nice GNOME GUI for making IP address based calculations" +HOMEPAGE="http://code.google.com/p/gip/" +SRC_URI=" + http://gip.googlecode.com/files/${MY_P}.tar.gz + mirror://debian/pool/main/g/${PN}/${PN}_${MY_PV}-3.debian.tar.gz" +#http://ftp.de.debian.org/debian/pool/main/g/gip/gip_1.7.0-1-3.debian.tar.gz +#http://dl.debain.org/gip/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-cpp/gtkmm:2.4 + dev-libs/glib:2 + dev-libs/libsigc++:2" +DEPEND="${RDEPEND} + dev-util/intltool + virtual/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + epatch \ + "${WORKDIR}"/debian/patches/*.diff \ + "${FILESDIR}"/${P}-asneeded.patch + + sed \ + -e "s:g++:$(tc-getCXX):g" \ + -i installer/build_files.sh + +# sed \ +# -e 's:CFLAGS=":CFLAGS+=" :g' \ +# -i build.sh || die + +# "${FILESDIR}"/${PN}-1.6.1.1-asneeded.patch + +# "${FILESDIR}/${P}-libsigcpp.patch" \ +# sed -i -e 's@INST_PIXMAPDIR=\"$INST_PREFIX/lib/$EXECUTABLE\"@INST_PIXMAPDIR=\"/usr/lib/$EXECUTABLE\"@g' build.sh +# sed -i -e 's@INST_PIXMAPDIR=\"/usr/lib/$EXECUTABLE\"@INST_PIXMAPDIR=\"$INST_PREFIX/lib/$EXECUTABLE\"@g' build.sh +# sed -i -e 's@INST_DOCDIR=\"$INST_PREFIX/doc/$EXECUTABLE\"@INST_DOCDIR=\"$INST_PREFIX/share/doc/'${PF}'\"@g' build.sh +} + +src_compile() { + # Crazy build system... + export CXXFLAGS="${CXXFLAGS}" + ./build.sh --prefix "${D}/usr" || die "./build failed" +} + +src_install() { + dodoc AUTHORS ChangeLog README + # Crazy build system... + ./build.sh --install --prefix "${D}/usr" || die "./build --install failed" + make_desktop_entry gip "GIP IP Address Calculator" gnome-calc3 Network +} |