diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2006-03-15 04:54:13 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2006-03-15 04:54:13 +0000 |
commit | 2228ba5f8f052f2afec47fc78dd10e9a42fb39bb (patch) | |
tree | 684e9e4d40564681acb1595dd5d1ed6f8babc511 /sci-calculators/tilp/tilp-6.79.ebuild | |
parent | New version (diff) | |
download | historical-2228ba5f8f052f2afec47fc78dd10e9a42fb39bb.tar.gz historical-2228ba5f8f052f2afec47fc78dd10e9a42fb39bb.tar.bz2 historical-2228ba5f8f052f2afec47fc78dd10e9a42fb39bb.zip |
New version
Package-Manager: portage-2.0.54
Diffstat (limited to 'sci-calculators/tilp/tilp-6.79.ebuild')
-rw-r--r-- | sci-calculators/tilp/tilp-6.79.ebuild | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/sci-calculators/tilp/tilp-6.79.ebuild b/sci-calculators/tilp/tilp-6.79.ebuild new file mode 100644 index 000000000000..b9f64151dd5c --- /dev/null +++ b/sci-calculators/tilp/tilp-6.79.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-calculators/tilp/tilp-6.79.ebuild,v 1.1 2006/03/15 04:54:13 ribosome Exp $ + +inherit eutils + +DESCRIPTION="TiLP - A linking program for Texas Instruments' graphing +calculators" +HOMEPAGE="http://tilp.info/" +SRC_URI="mirror://sourceforge/tilp/${P}.tar.gz" +LICENSE="GPL-2" + +SLOT="0" +KEYWORDS="~x86 ~ppc ~amd64" +IUSE="nls" + +DEPEND=">=sci-libs/libticables-3.8.0 + >=sci-libs/libticalcs-4.5.4 + >=sci-libs/libtifiles-0.6.1 + app-text/dos2unix + >=x11-libs/gtk+-2 + >=gnome-base/libglade-2 + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PV}-makefile.patch + epatch "${FILESDIR}"/${PV}-makefile-desktop.patch + epatch "${FILESDIR}"/keepdir.patch + epatch "${FILESDIR}"/${PV}-Makefile.in.patch + epatch "${FILESDIR}"/${PV}-Makefile.am.patch + epatch "${FILESDIR}"/${PV}-registry-Makefile.in.patch + epatch "${FILESDIR}"/${PV}-registry-Makefile.am.patch + epatch "${FILESDIR}"/${PV}-plugins-Makefile.in.patch + epatch "${FILESDIR}"/${PV}-plugins-Makefile.am.patch + + # Install "registry" files in ${D} rather than to the root dir. + cd "${S}"/registry + sed -i -e 's:prefix = /usr:prefix = $(D)/usr:' Makefile + cd "${S}" +} + +src_compile() { + # Note the special option --with-fontpath-prefix below. + cd ${WORKDIR}/${P}/ + LDFLAGS='-export-dynamic' ./configure \ + $(use_enable nls) \ + --host=${CHOST} \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --sysconfdir=/etc \ + --with-fontpath-prefix=${D}/usr/share/fonts \ + --enable-exit-homedir || die + + emake || die +} + +src_install() { + # The SHARE_DIR is required since it isn't set properly in a makefile. + make DESTDIR=${D} install || die + dodoc AUTHORS NEWS README README.linux RELEASE THANKS TODO + keepdir /usr/lib/tilp +} |