diff options
author | Markus Nigbur <pyrania@gentoo.org> | 2004-04-11 06:04:08 +0000 |
---|---|---|
committer | Markus Nigbur <pyrania@gentoo.org> | 2004-04-11 06:04:08 +0000 |
commit | 1cdc904b1b2b9c8a88ca82f73c98192f7e01943a (patch) | |
tree | abcf8b9cd13cfca599a3b8e9850fb55ef43cb65a /app-admin/gkrellm/gkrellm-2.1.28-r1.ebuild | |
parent | Apply patch from bug #25013 to replace calls to newdepend and newrdepend (diff) | |
download | historical-1cdc904b1b2b9c8a88ca82f73c98192f7e01943a.tar.gz historical-1cdc904b1b2b9c8a88ca82f73c98192f7e01943a.tar.bz2 historical-1cdc904b1b2b9c8a88ca82f73c98192f7e01943a.zip |
Adding patch for the slit problem. See bug #45335
Diffstat (limited to 'app-admin/gkrellm/gkrellm-2.1.28-r1.ebuild')
-rw-r--r-- | app-admin/gkrellm/gkrellm-2.1.28-r1.ebuild | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/app-admin/gkrellm/gkrellm-2.1.28-r1.ebuild b/app-admin/gkrellm/gkrellm-2.1.28-r1.ebuild new file mode 100644 index 000000000000..f0eaae2978c0 --- /dev/null +++ b/app-admin/gkrellm/gkrellm-2.1.28-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/gkrellm-2.1.28-r1.ebuild,v 1.1 2004/04/11 06:04:07 pyrania Exp $ + +S=${WORKDIR}/${P/a/} +DESCRIPTION="Single process stack of various system monitors" +HOMEPAGE="http://www.gkrellm.net/" +SRC_URI="http://web.wt.net/~billw/gkrellm/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="x86 ~ppc ~alpha ~sparc ~hppa ~amd64 ~ia64" +IUSE="X nls ssl" + +DEPEND=">=sys-apps/sed-4 + ssl? ( dev-libs/openssl ) + X? ( >=x11-libs/gtk+-2.0.5 )" +RDEPEND="${DEPEND} + nls? ( sys-devel/gettext )" + +src_compile() { + local myconf + if [ ! "`use nls`" ]; then + sed -i "s:enable_nls=1:enable_nls=0:" Makefile + fi + + sed -i 's:INSTALLROOT ?= /usr/local:INSTALLROOT ?= ${D}/usr:' Makefile + + epatch ${FILESDIR}/slit_gtk+-2.4.0.patch + + if use X + then + use ssl || myconf="without-ssl=yes" + PREFIX=/usr emake ${myconf} || die + else + cd ${S}/server + emake glib12=1 || die + fi +} + +src_install() { + dodir /usr/{bin,include,share/man} + + if use X + then + keepdir /usr/share/gkrellm2/themes + keepdir /usr/lib/gkrellm2/plugins + + make DESTDIR=${D} install \ + INSTALLDIR=${D}/usr/bin \ + MANDIR=${D}/usr/share/man/man1 \ + INCLUDEDIR=${D}/usr/include \ + LOCALEDIR=${D}/usr/share/locale \ + PKGCONFIGDIR=${D}/usr/lib/pkgconfig + + cd ${S} + mv gkrellm.1 gkrellm2.1 + + mv src/gkrellm src/gkrellm2 + dobin src/gkrellm2 + rm -f ${D}/usr/bin/gkrellm + else + cd ${S}/server + dobin gkrellmd + cd ${S} + rm gkrellm.1 + fi + + rm -f ${D}/usr/share/man/man1/* + doman *.1 + + exeinto /etc/init.d + doexe ${FILESDIR}/gkrellmd + + insinto /etc + doins server/gkrellmd.conf + + dodoc COPYRIGHT CREDITS INSTALL README Changelog + dohtml *.html +} |