media-libs/libtiger: Modernize to EAPI=6
authorMichał Górny <mgorny@gentoo.org>
Wed, 9 Aug 2017 05:18:28 +0000 (07:18 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 11 Aug 2017 13:20:37 +0000 (15:20 +0200)
media-libs/libtiger/libtiger-0.3.4-r1.ebuild [new file with mode: 0644]

diff --git a/media-libs/libtiger/libtiger-0.3.4-r1.ebuild b/media-libs/libtiger/libtiger-0.3.4-r1.ebuild
new file mode 100644 (file)
index 0000000..27909ed
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit libtool
+
+DESCRIPTION="A rendering library for Kate streams using Pango and Cairo"
+HOMEPAGE="https://code.google.com/p/libtiger/"
+SRC_URI="https://libtiger.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="doc"
+
+RDEPEND="x11-libs/pango
+       >=media-libs/libkate-0.2.0
+       x11-libs/cairo"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )"
+
+src_prepare() {
+       default
+       elibtoolize
+}
+
+src_configure() {
+       econf $(use_enable doc)
+}
+
+src_install() {
+       default
+       find "${ED}" -name '*.la' -delete || die
+}