diff options
author | 2006-03-15 04:45:31 +0000 | |
---|---|---|
committer | 2006-03-15 04:45:31 +0000 | |
commit | 8b9ac3037768b3c25f15547a4e163aab850d58d2 (patch) | |
tree | 7abdeebcc3f9dd2c81e2eed71e27d8d584216e1f /sci-libs/libticalcs/libticalcs-4.6.1.ebuild | |
parent | Add patch to fix compilation with gcc-4.1 by Karol Szumski <mareviq AT interi... (diff) | |
download | gentoo-2-8b9ac3037768b3c25f15547a4e163aab850d58d2.tar.gz gentoo-2-8b9ac3037768b3c25f15547a4e163aab850d58d2.tar.bz2 gentoo-2-8b9ac3037768b3c25f15547a4e163aab850d58d2.zip |
New version
(Portage version: 2.0.54)
Diffstat (limited to 'sci-libs/libticalcs/libticalcs-4.6.1.ebuild')
-rw-r--r-- | sci-libs/libticalcs/libticalcs-4.6.1.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/sci-libs/libticalcs/libticalcs-4.6.1.ebuild b/sci-libs/libticalcs/libticalcs-4.6.1.ebuild new file mode 100644 index 000000000000..8316a30b2ff7 --- /dev/null +++ b/sci-libs/libticalcs/libticalcs-4.6.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/libticalcs/libticalcs-4.6.1.ebuild,v 1.1 2006/03/15 04:45:31 ribosome Exp $ + +DESCRIPTION="Calculator API for the TiLP calculator linking program" +HOMEPAGE="http://tilp.info/" +#SRC_URI="mirror://sourceforge/tilp/${P}.tar.gz" +SRC_URI="http://nico.hibou.free.fr/hibnet/gentoo/distfiles/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +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 COPYING LOGO NEWS README +} + |