summaryrefslogtreecommitdiffstats
path: root/app-i18n/librcc/librcc-0.2.3-r4.ebuild
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /app-i18n/librcc/librcc-0.2.3-r4.ebuild
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
Diffstat (limited to 'app-i18n/librcc/librcc-0.2.3-r4.ebuild')
-rw-r--r--app-i18n/librcc/librcc-0.2.3-r4.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/app-i18n/librcc/librcc-0.2.3-r4.ebuild b/app-i18n/librcc/librcc-0.2.3-r4.ebuild
new file mode 100644
index 0000000..f463ded
--- /dev/null
+++ b/app-i18n/librcc/librcc-0.2.3-r4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+inherit eutils
+
+DESCRIPTION="LibRCC is Russian Encoding Conversion Library"
+SRC_URI="http://dside.dyndns.org/files/rusxmms/librcc-${PV}.tar.bz2"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 amd64"
+DEPEND="app-i18n/librcd
+ dev-libs/libxml2
+ sys-libs/db
+ app-i18n/enca
+ app-text/aspell
+ app-dicts/libtranslate"
+
+src_unpack() {
+ unpack ${P}.tar.bz2
+# cd "${S}"
+# epatch "${FILESDIR}"/rcc-debug.patch || die
+}
+
+src_compile() {
+ ./autogen.sh || die
+ econf || die
+ make || die
+ make -C examples || die
+}
+
+src_install() {
+ into /usr
+ mkdir -p ${D}/usr/lib
+ mkdir -p ${D}/usr/include
+ mkdir -p ${D}/usr/lib/rcc/engines
+ mkdir -p ${D}/etc
+ make install DESTDIR=${D} INSTALLTOP=${D}/usr || die
+ rm -f ${D}/usr/lib/rcc/engines/*.a
+ rm -f ${D}/usr/lib/rcc/engines/*.la
+ install -m 644 examples/rcc.xml ${D}/etc
+
+ make -C examples install DESTDIR=${D} INSTALLTOP=${D}/usr || die
+ rm -f ${D}/usr/bin/example*
+}