dev-libs/libburn: Disable the use of cdio as recommended by upstream.
authorDaniel Pielmeier <billie@gentoo.org>
Mon, 23 Oct 2017 19:03:20 +0000 (21:03 +0200)
committerDaniel Pielmeier <billie@gentoo.org>
Mon, 23 Oct 2017 19:03:20 +0000 (21:03 +0200)
Package-Manager: Portage-2.3.8, Repoman-2.3.3

dev-libs/libburn/libburn-1.4.8-r1.ebuild [new file with mode: 0644]

diff --git a/dev-libs/libburn/libburn-1.4.8-r1.ebuild b/dev-libs/libburn/libburn-1.4.8-r1.ebuild
new file mode 100644 (file)
index 0000000..f07d9a3
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Open-source library for reading, mastering and writing optical discs"
+HOMEPAGE="https://dev.lovelyhq.com/libburnia/web/wikis/home"
+SRC_URI="http://files.libburnia-project.org/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug static-libs track-src-odirect"
+
+RDEPEND=""
+DEPEND="$RDEPEND
+       virtual/pkgconfig"
+
+src_configure() {
+       econf \
+       $(use_enable static-libs static) \
+       $(use_enable track-src-odirect) \
+       --disable-ldconfig-at-install \
+       $(use_enable debug)
+}
+
+src_install() {
+       default
+
+       dodoc CONTRIBUTORS doc/{comments,*.txt}
+
+       docinto cdrskin
+       dodoc cdrskin/{*.txt,README}
+       docinto cdrskin/html
+       dodoc cdrskin/cdrskin_eng.html
+
+       find "${D}" -name '*.la' -delete || die
+}