summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Harmon <russ@eatnumber1.com>2010-04-11 10:40:45 -0400
committerRussell Harmon <russ@eatnumber1.com>2010-04-11 11:03:38 -0400
commit89c9ba499cc46bd0fb3024a92160b65378cd496a (patch)
tree08bb2dd27babfe16d28d53107860b20068b74aad /sys-libs
parentAdd rftg ebuild. (diff)
downloadeatnumber1-89c9ba499cc46bd0fb3024a92160b65378cd496a.tar.gz
eatnumber1-89c9ba499cc46bd0fb3024a92160b65378cd496a.tar.bz2
eatnumber1-89c9ba499cc46bd0fb3024a92160b65378cd496a.zip
Add libhx-3.4
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/libhx/libhx-3.4.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/sys-libs/libhx/libhx-3.4.ebuild b/sys-libs/libhx/libhx-3.4.ebuild
new file mode 100644
index 0000000..0f96cda
--- /dev/null
+++ b/sys-libs/libhx/libhx-3.4.ebuild
@@ -0,0 +1,29 @@
+# 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
+ app-arch/xz-utils"
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/libHX-${PV}"
+
+src_unpack() {
+ xz -dc -- "${DISTDIR%/}/$A" | tar --no-same-owner -xf - || die "unpack failed"
+}
+
+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
+}