# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-libs/libhx/libhx-3.2.ebuild,v 1.1 2010/01/10 15:28:41 hanno Exp $ DESCRIPTION="Platform independent library providing basic system functions." HOMEPAGE="http://libhx.sourceforge.net" SRC_URI="mirror://sourceforge/${PN}/libHX-${PV}.tar.xz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" IUSE="" DEPEND="virtual/libc" RDEPEND="${DEPEND}" S="${WORKDIR}/libHX-${PV}" src_compile() { econf --docdir="/usr/share/doc/${PF}" || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc doc/*.txt || die }