/[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.15 - (show annotations) (download)
Wed Sep 26 13:08:13 2012 UTC (18 months, 3 weeks ago) by kensington
Branch: MAIN
CVS Tags: HEAD
Changes since 1.14: +1 -1 lines
FILE REMOVED
Remove old.

(Portage version: 2.1.11.18/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/gip/gip-1.6.1.1.ebuild,v 1.14 2012/07/26 13:48:44 jlec Exp $
4
5 EAPI=3
6 inherit eutils versionator
7
8 MY_P="${PN}-$(replace_version_separator 3 '-')"
9 DESCRIPTION="A nice GNOME GUI for making IP address based calculations"
10 HOMEPAGE="http://code.google.com/p/gip/"
11 SRC_URI="http://dl.debain.org/gip/${MY_P}.tar.gz"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="amd64 x86"
16 IUSE=""
17
18 RDEPEND="dev-cpp/gtkmm:2.4
19 dev-libs/glib:2
20 dev-libs/libsigc++:2"
21 DEPEND="${RDEPEND}
22 dev-util/intltool
23 virtual/pkgconfig"
24
25 S="${WORKDIR}/${MY_P}"
26
27 src_prepare() {
28 epatch "${FILESDIR}/${P}-libsigcpp.patch" \
29 "${FILESDIR}"/${P}-asneeded.patch
30 sed -i -e "s:g++:$(tc-getCXX):" installer/build_files.sh
31 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 }
35
36 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 make_desktop_entry gip "GIP IP Address Calculator" gnome-calc3 Network
46 }

  ViewVC Help
Powered by ViewVC 1.1.20