media-libs/libpagemaker: Cleanup, delete .la files
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Fri, 25 Nov 2016 23:12:53 +0000 (00:12 +0100)
committerAndreas K. Hüttel <dilfridge@gentoo.org>
Sat, 17 Dec 2016 15:55:44 +0000 (16:55 +0100)
Gentoo-bug: 600724

Package-Manager: portage-2.3.0

media-libs/libpagemaker/libpagemaker-0.0.3-r1.ebuild [new file with mode: 0644]
media-libs/libpagemaker/libpagemaker-9999.ebuild

diff --git a/media-libs/libpagemaker/libpagemaker-0.0.3-r1.ebuild b/media-libs/libpagemaker/libpagemaker-0.0.3-r1.ebuild
new file mode 100644 (file)
index 0000000..7ee5794
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+EGIT_REPO_URI="git://gerrit.libreoffice.org/${PN}.git"
+[[ ${PV} == 9999 ]] && inherit autotools git-r3
+
+DESCRIPTION="C++ Library that parses the file format of Aldus/Adobe PageMaker documents."
+HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/${PN}"
+[[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
+
+LICENSE="MPL-2.0"
+SLOT="0"
+
+[[ ${PV} == 9999 ]] || \
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug doc tools"
+
+RDEPEND="
+       dev-libs/librevenge
+"
+DEPEND="${RDEPEND}
+       dev-libs/boost
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+"
+
+src_prepare() {
+       default
+       [[ ${PV} == 9999 ]] && eautoreconf
+}
+
+src_configure() {
+       econf \
+               --disable-werror \
+               $(use_with doc docs) \
+               $(use_enable tools)
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
+}
index faf582e328ce23541dce9eea24e616ce0ab2afb0..7ee5794e6bf72d57481447bdc6ff8c54149a1daf 100644 (file)
@@ -22,20 +22,24 @@ RDEPEND="
        dev-libs/librevenge
 "
 DEPEND="${RDEPEND}
-       >=dev-libs/boost-1.47
+       dev-libs/boost
        virtual/pkgconfig
        doc? ( app-doc/doxygen )
 "
 
 src_prepare() {
-       eapply_user
+       default
        [[ ${PV} == 9999 ]] && eautoreconf
 }
 
 src_configure() {
        econf \
-               --docdir="${EPREFIX}/usr/share/doc/${PF}" \
                --disable-werror \
-               $(use_enable tools) \
-               $(use_with doc docs)
+               $(use_with doc docs) \
+               $(use_enable tools)
+}
+
+src_install() {
+       default
+       find "${D}" -name '*.la' -delete || die
 }