diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2016-07-20 23:07:17 +0300 |
---|---|---|
committer | Göktürk Yüksek <gokturk@gentoo.org> | 2016-07-21 10:49:09 -0400 |
commit | 09ba014c49d3c8150725ed1942f5ee7431b58b3e (patch) | |
tree | db89a0089192001d1fa8886f018d73c933e9aa78 /dev-libs/uchardet/uchardet-0.0.6.ebuild | |
parent | dev-libs/uchardet: migrate to the new freedesktop upstream (diff) | |
download | gentoo-09ba014c49d3c8150725ed1942f5ee7431b58b3e.tar.gz gentoo-09ba014c49d3c8150725ed1942f5ee7431b58b3e.tar.bz2 gentoo-09ba014c49d3c8150725ed1942f5ee7431b58b3e.zip |
dev-libs/uchardet: verbump to 0.0.6
Gentoo-Bug: 589268
Closes: https://github.com/gentoo/gentoo/pull/1929
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-libs/uchardet/uchardet-0.0.6.ebuild')
-rw-r--r-- | dev-libs/uchardet/uchardet-0.0.6.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-libs/uchardet/uchardet-0.0.6.ebuild b/dev-libs/uchardet/uchardet-0.0.6.ebuild new file mode 100644 index 000000000000..ed98632dfff8 --- /dev/null +++ b/dev-libs/uchardet/uchardet-0.0.6.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="An encoding detector library" +HOMEPAGE="https://www.freedesktop.org/wiki/Software/uchardet/" +SRC_URI="https://www.freedesktop.org/software/${PN}/releases/${P}.tar.xz" + +LICENSE="|| ( MPL-1.1 GPL-2+ LGPL-2.1+ )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc64 ~x86" +IUSE="static-libs test" + +src_prepare() { + cmake-utils_src_prepare + use test || cmake_comment_add_subdirectory test +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC=$(usex static-libs) + ) + cmake-utils_src_configure +} |