View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/app-admin/gkrellm/gkrellm-2.2.9.ebuild (-7 / +5 lines)
 Lines 2-8    Link Here 
# 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/app-admin/gkrellm/gkrellm-2.2.9.ebuild,v 1.2 2006/06/18 14:32:21 malc Exp $
# $Header: /var/cvsroot/gentoo-x86/app-admin/gkrellm/gkrellm-2.2.9.ebuild,v 1.2 2006/06/18 14:32:21 malc Exp $
inherit eutils
inherit eutils toolchain-funcs
DESCRIPTION="Single process stack of various system monitors"
DESCRIPTION="Single process stack of various system monitors"
HOMEPAGE="http://www.gkrellm.net/"
HOMEPAGE="http://www.gkrellm.net/"
 Lines 30-35    Link Here 
	unpack ${A}
	unpack ${A}
	cd "${S}"
	cd "${S}"
	epatch "${FILESDIR}"/${P}-build.patch
	epatch "${FILESDIR}"/${P}-gnutls.patch
	epatch "${FILESDIR}"/${P}-gnutls.patch
	epatch "${FILESDIR}"/gkrellm-mbmon-amd64.patch
	epatch "${FILESDIR}"/gkrellm-mbmon-amd64.patch
 Lines 45-61    Link Here 
src_compile() {
src_compile() {
	if use X ; then
	if use X ; then
		emake \
		emake \
			CC=$(tc-getCC) \
			INSTALLROOT=/usr \
			INSTALLROOT=/usr \
			INCLUDEDIR=/usr/include/gkrellm2 \
			INCLUDEDIR=/usr/include/gkrellm2 \
			LINK_FLAGS="${LDFLAGS}" \
			$(use nls || echo enable_nls=0) \
			$(use nls || echo enable_nls=0) \
			$(use gnutls || echo without_gnutls=yes) \
			$(use gnutls || echo without_gnutls=yes) \
			$(use ssl || echo without_ssl=yes) \
			$(use ssl || echo without_ssl=yes) \
			|| die "emake failed"
			|| die "emake failed"
	else
	else
		cd server
		cd server
		emake LINK_FLAGS="${LDFLAGS}" \
		emake || die "emake failed"
			|| die "emake failed"
	fi
	fi
}
}
 Lines 64-70    Link Here 
		make install \
		make install \
			$(use nls || echo enable_nls=0) \
			$(use nls || echo enable_nls=0) \
			INSTALLDIR="${D}"/usr/bin \
			INSTALLDIR="${D}"/usr/bin \
			MANDIR="${T}" \
			INCLUDEDIR="${D}"/usr/include \
			INCLUDEDIR="${D}"/usr/include \
			LOCALEDIR="${D}"/usr/share/locale \
			LOCALEDIR="${D}"/usr/share/locale \
			PKGCONFIGDIR="${D}"/usr/$(get_libdir)/pkgconfig \
			PKGCONFIGDIR="${D}"/usr/$(get_libdir)/pkgconfig \
 Lines 84-91    Link Here 
		doins server/gkrellmd.h
		doins server/gkrellmd.h
	fi
	fi
	doinitd "${FILESDIR}"/gkrellmd \
	doinitd "${FILESDIR}"/gkrellmd || die "doinitd failed"
		|| die "doinitd failed"
	insinto /etc
	insinto /etc
	doins server/gkrellmd.conf
	doins server/gkrellmd.conf