You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.1 KiB
55 lines
1.1 KiB
8 years ago
|
# Copyright 1999-2016 Gentoo Foundation
|
||
9 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
9 years ago
|
# $Id$
|
||
9 years ago
|
|
||
8 years ago
|
EAPI=6
|
||
9 years ago
|
|
||
9 years ago
|
EGIT_REPO_URI="git://git.code.sf.net/p/libmwaw/libmwaw"
|
||
|
inherit eutils
|
||
|
[[ ${PV} == 9999 ]] && inherit autotools git-r3
|
||
9 years ago
|
|
||
|
DESCRIPTION="Library parsing many pre-OSX MAC text formats"
|
||
8 years ago
|
HOMEPAGE="http://sourceforge.net/p/libmwaw/wiki/Home/"
|
||
9 years ago
|
[[ ${PV} == 9999 ]] || SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
|
||
9 years ago
|
|
||
|
LICENSE="LGPL-2.1"
|
||
|
SLOT="0"
|
||
9 years ago
|
|
||
|
[[ ${PV} == 9999 ]] || \
|
||
8 years ago
|
KEYWORDS="~amd64 ~arm ~x86"
|
||
9 years ago
|
|
||
9 years ago
|
IUSE="doc static-libs"
|
||
|
|
||
|
RDEPEND="
|
||
|
dev-libs/librevenge
|
||
|
dev-libs/libxml2
|
||
|
sys-libs/zlib
|
||
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
|
>=dev-libs/boost-1.46:=
|
||
|
sys-devel/libtool
|
||
|
virtual/pkgconfig
|
||
|
doc? ( app-doc/doxygen )
|
||
|
"
|
||
|
|
||
9 years ago
|
src_prepare() {
|
||
8 years ago
|
default
|
||
9 years ago
|
[[ ${PV} == 9999 ]] && eautoreconf
|
||
|
}
|
||
|
|
||
9 years ago
|
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 \
|
||
|
$(use_enable static-libs static) \
|
||
|
$(use_with doc docs)
|
||
|
}
|
||
|
|
||
|
src_install() {
|
||
|
default
|
||
|
prune_libtool_files --all
|
||
|
}
|