summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Huddleston <eradicator@gentoo.org>2005-03-22 10:20:05 +0000
committerJeremy Huddleston <eradicator@gentoo.org>2005-03-22 10:20:05 +0000
commit56eb9a074aa0e3060069b8f19eda6648516dcf85 (patch)
tree37563145814343aeb39310740108ab6e976a8add /net-im/gaim-blogger
parentStable on x86. (diff)
downloadgentoo-2-56eb9a074aa0e3060069b8f19eda6648516dcf85.tar.gz
gentoo-2-56eb9a074aa0e3060069b8f19eda6648516dcf85.tar.bz2
gentoo-2-56eb9a074aa0e3060069b8f19eda6648516dcf85.zip
Multilib cleanups and don't use einstall. Use proper toolchain CC. Added to ~amd64.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-im/gaim-blogger')
-rw-r--r--net-im/gaim-blogger/ChangeLog9
-rw-r--r--net-im/gaim-blogger/gaim-blogger-1.0.0.ebuild26
2 files changed, 22 insertions, 13 deletions
diff --git a/net-im/gaim-blogger/ChangeLog b/net-im/gaim-blogger/ChangeLog
index 8970e2984a91..ec4d541cf8ec 100644
--- a/net-im/gaim-blogger/ChangeLog
+++ b/net-im/gaim-blogger/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/gaim-blogger
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/gaim-blogger/ChangeLog,v 1.15 2004/10/21 15:38:12 rizzo Exp $
+# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/gaim-blogger/ChangeLog,v 1.16 2005/03/22 10:20:05 eradicator Exp $
+
+ 22 Mar 2005; Jeremy Huddleston <eradicator@gentoo.org>
+ gaim-blogger-1.0.0.ebuild:
+ Multilib cleanups and don't use einstall. Use proper toolchain CC.
+ Added to ~amd64.
21 Oct 2004; Don Seiler <rizzo@gentoo.org> -gaim-blogger-0.81.ebuild,
-gaim-blogger-0.82.ebuild, gaim-blogger-1.0.0.ebuild:
diff --git a/net-im/gaim-blogger/gaim-blogger-1.0.0.ebuild b/net-im/gaim-blogger/gaim-blogger-1.0.0.ebuild
index a613f7c6fc5e..b1826cb3e7a4 100644
--- a/net-im/gaim-blogger/gaim-blogger-1.0.0.ebuild
+++ b/net-im/gaim-blogger/gaim-blogger-1.0.0.ebuild
@@ -1,35 +1,39 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/gaim-blogger/gaim-blogger-1.0.0.ebuild,v 1.2 2004/10/21 15:38:12 rizzo Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/gaim-blogger/gaim-blogger-1.0.0.ebuild,v 1.3 2005/03/22 10:20:05 eradicator Exp $
+
+inherit multilib toolchain-funcs
DESCRIPTION="Gaim-blogger is a protocol plugin for Gaim which makes use of Gaim's IM interface to post, edit, view and track blogs."
HOMEPAGE="http://gaim-blogger.sourceforge.net"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="x86 ~ppc"
+KEYWORDS="~amd64 x86 ~ppc"
IUSE=""
DEPEND=">=net-im/gaim-1.0.0"
-#RDEPEND=""
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd ${S}
- sed -i -e 's:PREFIX = /usr/local:PREFIX = '${D}'/usr:g' Makefile
- sed -i -e 's:GTK_PREFIX = $(PREFIX):GTK_PREFIX = /usr:g' Makefile
- sed -i -e 's:GAIM_TOP = ../gaim:GAIM_TOP = /usr/include/gaim:g' Makefile
+ sed -i -e 's:PREFIX = /usr/local:PREFIX = /usr:g' \
+ -e 's:GAIM_TOP = ../gaim:GAIM_TOP = /usr/include/gaim:g' Makefile
+
+ [[ $(get_libdir) == "lib" ]] || sed -i -e "s:/lib/:/$(get_libdir)/:g" Makefile
}
src_compile() {
- emake || die
+ emake CC="$(tc-getCC)" || die
}
src_install() {
- dodir /usr/lib/gaim
- dodir /usr/share/pixmaps/gaim/status/default
- einstall || die
+ exeinto /usr/$(get_libdir)/gaim
+ doexe libblogger.so
+
+ insinto /usr/share/pixmaps/gaim/status/default
+ doins pixmaps/blogger.png
dodoc COPYING ChangeLog
}