summaryrefslogtreecommitdiff
path: root/dev-libs/libchardet/libchardet-1.0.6.ebuild
blob: daeac811358d1c13b454a73618c895c715a5e7f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Mozilla's Universal Charset Detector C/C++ API"
HOMEPAGE="https://github.com/Joungkyun/libchardet"
SRC_URI="https://github.com/Joungkyun/libchardet/releases/download/${PV}/${P}.tar.bz2"

LICENSE="LGPL-2.1 MPL-1.1"
SLOT="0/0"
KEYWORDS="~amd64"

PATCHES=(
	"${FILESDIR}/libchardet-1.0.6-pkgconfig.patch"
)

src_install() {
	default
	find "${ED}" -name "*.la" -delete || die
}