summaryrefslogtreecommitdiffstats
path: root/app-i18n/librcd/librcd-0.1.14-r1.ebuild
blob: 003fb71088f77c9b4aa8ff4caf3fee769f3fef02 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 

EAPI=5
inherit eutils multilib-minimal

DESCRIPTION="LibRCD is Russian Encoding Detection Library"
SRC_URI="http://dside.dyndns.org/files/rusxmms/librcd-${PV}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 amd64"

src_prepare() {
    multilib_copy_sources
}

multilib_src_compile() {
    rm -f Makefile.in aclocal.m4
    
    ./autogen.sh
    econf
    make
}

multilib_src_install() {
    into /usr
    mkdir -p ${D}/usr/lib
    mkdir -p ${D}/usr/include
    make install DESTDIR=${D} INSTALLTOP=${D}/usr
}