summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-11-26 01:58:45 +0100
committerAndreas K. Hüttel <dilfridge@gentoo.org>2016-12-17 16:56:16 +0100
commitd58e1fa8b2852797ea9d9b3757b0112e5973cdd9 (patch)
tree244bc13b0d37125eb9bc15a1a181153c93259c54 /app-text/libodfgen
parentapp-text/libmspub: Drop eutils.eclass (diff)
downloadgentoo-d58e1fa8b2852797ea9d9b3757b0112e5973cdd9.tar.gz
gentoo-d58e1fa8b2852797ea9d9b3757b0112e5973cdd9.tar.bz2
gentoo-d58e1fa8b2852797ea9d9b3757b0112e5973cdd9.zip
app-text/libodfgen: --with-sharedptr=c++11, drop eutils.eclass
No more boost dependency with std sharedptr Package-Manager: portage-2.3.0
Diffstat (limited to 'app-text/libodfgen')
-rw-r--r--app-text/libodfgen/libodfgen-0.1.6.ebuild9
-rw-r--r--app-text/libodfgen/libodfgen-9999.ebuild9
2 files changed, 6 insertions, 12 deletions
diff --git a/app-text/libodfgen/libodfgen-0.1.6.ebuild b/app-text/libodfgen/libodfgen-0.1.6.ebuild
index 80975a99492f..29f334adfb46 100644
--- a/app-text/libodfgen/libodfgen-0.1.6.ebuild
+++ b/app-text/libodfgen/libodfgen-0.1.6.ebuild
@@ -5,7 +5,6 @@
EAPI=6
EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/libodfgen"
-inherit eutils
[[ ${PV} == 9999 ]] && inherit autotools git-r3
DESCRIPTION="Library to generate ODF documents from libwpd and libwpg"
@@ -24,13 +23,12 @@ RDEPEND="
dev-libs/librevenge
"
DEPEND="${RDEPEND}
- >=dev-libs/boost-1.46
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
src_prepare() {
- eapply_user
+ default
[[ ${PV} == 9999 ]] && eautoreconf
}
@@ -38,12 +36,11 @@ src_configure() {
econf \
--disable-static \
--disable-werror \
- --with-sharedptr=boost \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --with-sharedptr=c++11 \
$(use_with doc docs)
}
src_install() {
default
- prune_libtool_files --all
+ find "${D}" -name '*.la' -delete || die
}
diff --git a/app-text/libodfgen/libodfgen-9999.ebuild b/app-text/libodfgen/libodfgen-9999.ebuild
index 80975a99492f..29f334adfb46 100644
--- a/app-text/libodfgen/libodfgen-9999.ebuild
+++ b/app-text/libodfgen/libodfgen-9999.ebuild
@@ -5,7 +5,6 @@
EAPI=6
EGIT_REPO_URI="git://git.code.sf.net/p/libwpd/libodfgen"
-inherit eutils
[[ ${PV} == 9999 ]] && inherit autotools git-r3
DESCRIPTION="Library to generate ODF documents from libwpd and libwpg"
@@ -24,13 +23,12 @@ RDEPEND="
dev-libs/librevenge
"
DEPEND="${RDEPEND}
- >=dev-libs/boost-1.46
virtual/pkgconfig
doc? ( app-doc/doxygen )
"
src_prepare() {
- eapply_user
+ default
[[ ${PV} == 9999 ]] && eautoreconf
}
@@ -38,12 +36,11 @@ src_configure() {
econf \
--disable-static \
--disable-werror \
- --with-sharedptr=boost \
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+ --with-sharedptr=c++11 \
$(use_with doc docs)
}
src_install() {
default
- prune_libtool_files --all
+ find "${D}" -name '*.la' -delete || die
}