blob: 5472c1d2f036c9cf98da0aad9e54b4ee7673029b (
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
|
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI="5"
inherit cmake-utils
DESCRIPTION="C port of Mozilla's Automatic Charset Detection algorithm"
HOMEPAGE="https://code.google.com/p/uchardet/"
SRC_URI="https://uchardet.googlecode.com/files/${P}.tar.gz"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs"
DEPEND=""
RDEPEND="${DEPEND}"
src_install() {
cmake-utils_src_install
use static-libs || find "${ED}" -name '*.a' -delete
}
|