blob: bc999cc2f8bc4119570ae9f068f3a54179e6ed89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libtifiles/libtifiles-0.5.9.ebuild,v 1.1 2004/08/22 18:11:51 ribosome Exp $
DESCRIPTION="Various TI file formats support 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"
IUSE="nls"
RDEPEND="dev-libs/libticables
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
}
|