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

inherit eutils

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

src_unpack() {
    unpack ${P}.tar.bz2
}

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

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