/[gentoo-x86]/net-misc/gip/gip-1.6.1.1.ebuild
Gentoo

Contents of /net-misc/gip/gip-1.6.1.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (hide annotations) (download)
Thu Jul 26 13:48:44 2012 UTC (2 years, 5 months ago) by jlec
Branch: MAIN
Changes since 1.13: +2 -2 lines
net-misc/gip: Version Bump; respect the *FLAGS, #427874

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 jdhore 1.13 # Copyright 1999-2012 Gentoo Foundation
2 masterdriverz 1.1 # Distributed under the terms of the GNU General Public License v2
3 jlec 1.14 # $Header: /var/cvsroot/gentoo-x86/net-misc/gip/gip-1.6.1.1.ebuild,v 1.13 2012/05/05 03:20:45 jdhore Exp $
4 masterdriverz 1.1
5 angelos 1.11 EAPI=3
6 arfrever 1.12 inherit eutils versionator
7 masterdriverz 1.1
8     MY_P="${PN}-$(replace_version_separator 3 '-')"
9     DESCRIPTION="A nice GNOME GUI for making IP address based calculations"
10 jlec 1.14 HOMEPAGE="http://code.google.com/p/gip/"
11 masterdriverz 1.1 SRC_URI="http://dl.debain.org/gip/${MY_P}.tar.gz"
12    
13     LICENSE="GPL-2"
14     SLOT="0"
15 coldwind 1.6 KEYWORDS="amd64 x86"
16     IUSE=""
17 masterdriverz 1.1
18 angelos 1.11 RDEPEND="dev-cpp/gtkmm:2.4
19     dev-libs/glib:2
20     dev-libs/libsigc++:2"
21 coldwind 1.6 DEPEND="${RDEPEND}
22 angelos 1.8 dev-util/intltool
23 jdhore 1.13 virtual/pkgconfig"
24 coldwind 1.6
25 masterdriverz 1.1 S="${WORKDIR}/${MY_P}"
26    
27 angelos 1.11 src_prepare() {
28 angelos 1.8 epatch "${FILESDIR}/${P}-libsigcpp.patch" \
29     "${FILESDIR}"/${P}-asneeded.patch
30     sed -i -e "s:g++:$(tc-getCXX):" installer/build_files.sh
31 angelos 1.11 sed -i -e 's@INST_PIXMAPDIR=\"$INST_PREFIX/lib/$EXECUTABLE\"@INST_PIXMAPDIR=\"/usr/lib/$EXECUTABLE\"@g' build.sh
32     sed -i -e 's@INST_PIXMAPDIR=\"/usr/lib/$EXECUTABLE\"@INST_PIXMAPDIR=\"$INST_PREFIX/lib/$EXECUTABLE\"@g' build.sh
33     sed -i -e 's@INST_DOCDIR=\"$INST_PREFIX/doc/$EXECUTABLE\"@INST_DOCDIR=\"$INST_PREFIX/share/doc/'${PF}'\"@g' build.sh
34 darkside 1.7 }
35    
36 masterdriverz 1.1 src_compile() {
37     # Crazy build system...
38     ./build.sh --prefix "${D}/usr" || die "./build failed"
39     }
40    
41     src_install() {
42     dodoc AUTHORS CHANGELOG README
43     # Crazy build system...
44     ./build.sh --install --prefix "${D}/usr" || die "./build --install failed"
45 carlo 1.5 make_desktop_entry gip "GIP IP Address Calculator" gnome-calc3 Network
46 masterdriverz 1.1 }

  ViewVC Help
Powered by ViewVC 1.1.20