diff options
Diffstat (limited to 'app-text/open_c-lit/open_c-lit-1.4.ebuild')
-rw-r--r-- | app-text/open_c-lit/open_c-lit-1.4.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/app-text/open_c-lit/open_c-lit-1.4.ebuild b/app-text/open_c-lit/open_c-lit-1.4.ebuild new file mode 100644 index 000000000000..9d38f6bd8cc1 --- /dev/null +++ b/app-text/open_c-lit/open_c-lit-1.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/open_c-lit/open_c-lit-1.4.ebuild,v 1.1 2005/10/27 00:31:52 vapier Exp $ + +MY_PV=${PV//.} +DESCRIPTION="Open Convert .LIT tool" +HOMEPAGE="http://www.kyz.uklinux.net/convlit.php" +SRC_URI="http://www.kyz.uklinux.net/downloads/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc" +IUSE="" +RESTRICT="fetch" + +RDEPEND="!app-text/convertlit" + +S=${WORKDIR}/clit${MY_PV}src + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i "/^CFLAGS=/s:-O2:${CFLAGS}:" */Makefile +} + +src_compile() { + cd "${S}"/lib + emake || die + cd "${S}"/clit${MY_PV} + emake || die +} + +src_install() { + dodoc README + cd clit${MY_PV} + dobin clit || die "dobin failed" + dodoc BUGS CHANGES +} |