|
|
# Copyright 1999-2004 Gentoo Foundation | # Copyright 1999-2004 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/anjuta/anjuta-1.2.2-r1.ebuild,v 1.2 2004/08/21 16:05:46 foser Exp $ |
# $Header: $ |
| |
inherit eutils gnome2 | inherit eutils gnome2 |
| |
|
|
SLOT="0" | SLOT="0" |
LICENSE="GPL-2" | LICENSE="GPL-2" |
# Future versions will work with 64-bit archs, but 1.2.0 doesn't | # Future versions will work with 64-bit archs, but 1.2.0 doesn't |
KEYWORDS="x86 ~ppc sparc ~amd64" |
KEYWORDS="~x86" |
| |
RDEPEND=">=dev-libs/glib-2.0.6 | RDEPEND=">=dev-libs/glib-2.0.6 |
>=x11-libs/gtk+-2.0.8 | >=x11-libs/gtk+-2.0.8 |
|
|
DEPEND="${RDEPEND} | DEPEND="${RDEPEND} |
dev-util/pkgconfig" | dev-util/pkgconfig" |
| |
DOCS="AUTHORS COPYING ChangeLog FUTURE NEWS README THANKS TODO" |
|
|
|
MAKEOPTS="${MAKEOPTS} -j1" | MAKEOPTS="${MAKEOPTS} -j1" |
| |
src_unpack() { | src_unpack() { |
|
|
epatch ${FILESDIR}/${P}-64bit.patch | epatch ${FILESDIR}/${P}-64bit.patch |
} | } |
| |
|
src_install() { |
|
# install docs properly |
|
sed -i "s:share/doc/${PN}:share/doc/${PF}:g" Makefile |
|
sed -i "s:share/doc/${PN}:share/doc/${PF}/html:g" doc/Makefile |
|
gnome2_src_install |
|
prepalldocs.new || prepalldocs |
|
} |
|
|
pkg_postinst() { | pkg_postinst() { |
| |
gnome2_pkg_postinst | gnome2_pkg_postinst |