summaryrefslogtreecommitdiffstats
path: root/app-i18n/librcd/librcd-0.1.14.ebuild
blob: ededc9fd399b7468737a60d7e3988fb72005df75 (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://dside.dyndns.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
}