summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/libmwaw/libmwaw-0.3.9.ebuild')
-rw-r--r--app-text/libmwaw/libmwaw-0.3.9.ebuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/app-text/libmwaw/libmwaw-0.3.9.ebuild b/app-text/libmwaw/libmwaw-0.3.9.ebuild
index a8a3aae2772a..3d50f04353af 100644
--- a/app-text/libmwaw/libmwaw-0.3.9.ebuild
+++ b/app-text/libmwaw/libmwaw-0.3.9.ebuild
@@ -5,11 +5,10 @@
EAPI=6
EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw"
-inherit eutils
[[ ${PV} == 9999 ]] && inherit autotools git-r3
DESCRIPTION="Library parsing many pre-OSX MAC text formats"
-HOMEPAGE="http://sourceforge.net/p/libmwaw/wiki/Home/"
+HOMEPAGE="https://sourceforge.net/p/libmwaw/wiki/Home/"
[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
LICENSE="LGPL-2.1"
@@ -18,7 +17,7 @@ SLOT="0"
[[ ${PV} == 9999 ]] || \
KEYWORDS="~amd64 ~arm ~x86"
-IUSE="doc static-libs"
+IUSE="doc static-libs tools"
RDEPEND="
dev-libs/librevenge
@@ -26,7 +25,6 @@ RDEPEND="
sys-libs/zlib
"
DEPEND="${RDEPEND}
- >=dev-libs/boost-1.46:=
sys-devel/libtool
virtual/pkgconfig
doc? ( app-doc/doxygen )
@@ -40,15 +38,15 @@ src_prepare() {
src_configure() {
# zip is hard enabled as the zlib is dep on the rdeps anyway
econf \
- --docdir="${EPREFIX}/usr/share/doc/${PF}" \
- --with-sharedptr=boost \
--enable-zip \
--disable-werror \
+ --with-sharedptr=c++11 \
+ $(use_with doc docs) \
$(use_enable static-libs static) \
- $(use_with doc docs)
+ $(use_enable tools)
}
src_install() {
default
- prune_libtool_files --all
+ find "${D}" -name '*.la' -delete || die
}