summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-26 00:12:53 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-12-17 16:55:44 +0100
commitb1bd125cb357d6c2fddc1cc6dff747be3a525247 (patch)
tree1dfa62e8acda37c8246932e030fa9561588a410c /media-libs/libpagemaker
parentapp-text/libwpd: EAPI 6, drop eutils.eclass, improve metadata (diff)
downloadgentoo-b1bd125cb357d6c2fddc1cc6dff747be3a525247.tar.gz
gentoo-b1bd125cb357d6c2fddc1cc6dff747be3a525247.tar.bz2
gentoo-b1bd125cb357d6c2fddc1cc6dff747be3a525247.zip
media-libs/libpagemaker: Cleanup, delete .la files
Gentoo-bug: 600724 Package-Manager: portage-2.3.0
Diffstat (limited to 'media-libs/libpagemaker')
-rw-r--r--media-libs/libpagemaker/libpagemaker-0.0.3-r1.ebuild45
-rw-r--r--media-libs/libpagemaker/libpagemaker-9999.ebuild14
2 files changed, 54 insertions, 5 deletions
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
index 000000000000..7ee5794e6bf7
--- /dev/null
+++ b/media-libs/libpagemaker/libpagemaker-0.0.3-r1.ebuild
@@ -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
+}
diff --git a/media-libs/libpagemaker/libpagemaker-9999.ebuild b/media-libs/libpagemaker/libpagemaker-9999.ebuild
index faf582e328ce..7ee5794e6bf7 100644
--- a/media-libs/libpagemaker/libpagemaker-9999.ebuild
+++ b/media-libs/libpagemaker/libpagemaker-9999.ebuild
@@ -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
}