summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/libticalcs/libticalcs-4.5.5.ebuild')
-rw-r--r--sci-libs/libticalcs/libticalcs-4.5.5.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-libs/libticalcs/libticalcs-4.5.5.ebuild b/sci-libs/libticalcs/libticalcs-4.5.5.ebuild
new file mode 100644
index 000000000000..1bae2db63e0b
--- /dev/null
+++ b/sci-libs/libticalcs/libticalcs-4.5.5.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/libticalcs/libticalcs-4.5.5.ebuild,v 1.1 2004/12/28 21:41:41 ribosome Exp $
+
+DESCRIPTION="Calculator API for the TiLP calculator linking program"
+HOMEPAGE="http://tilp.info/"
+SRC_URI="mirror://sourceforge/tilp/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="x86 ppc"
+IUSE="nls"
+
+RDEPEND=">=sci-libs/libticables-3.6.1
+ >=sci-libs/libtifiles-0.6.1
+ virtual/libc
+ nls? sys-devel/gettext"
+
+DEPEND="${RDEPEND}
+ sys-devel/bison"
+
+src_compile() {
+ local myconf="$(use_enable nls)"
+ econf ${myconf} || die
+
+ # Install "po" files in ${D} rather than to the root dir.
+ cd ${S}/po
+ sed -i -e 's:prefix = /usr:prefix = $(D)/usr:' Makefile
+ cd ${S}
+
+ emake || die
+}
+
+src_install() {
+ make install DESTDIR=${D}
+ dodoc AUTHORS ChangeLog LOGO README
+}