/[gentoo-x86]/media-libs/libfreehand/libfreehand-0.1.0.ebuild
Gentoo

Contents of /media-libs/libfreehand/libfreehand-0.1.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Feb 15 14:59:13 2015 UTC (4 years, 11 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #534684

(Portage version: 2.2.14/cvs/Linux x86_64, RepoMan options: --include-arches="x86", signed Manifest commit with key 7194459F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-libs/libfreehand/libfreehand-0.1.0.ebuild,v 1.3 2015/02/15 14:57:20 ago Exp $
4
5 EAPI=5
6
7 EGIT_REPO_URI="git://anongit.freedesktop.org/git/libreoffice/libfreehand/"
8 inherit base eutils
9 [[ ${PV} == 9999 ]] && inherit autotools git-2
10
11 DESCRIPTION="Library for import of FreeHand drawings"
12 HOMEPAGE="https://wiki.documentfoundation.org/DLP/Libraries/libfreehand"
13 [[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${PN}/${P}.tar.xz"
14
15 LICENSE="MPL-2.0"
16 SLOT="0"
17 [[ ${PV} == 9999 ]] || \
18 KEYWORDS="amd64 ~arm x86"
19 IUSE="doc static-libs"
20
21 RDEPEND="
22 dev-libs/librevenge
23 sys-libs/zlib
24 "
25 DEPEND="${RDEPEND}
26 dev-util/gperf
27 sys-devel/libtool
28 virtual/pkgconfig
29 doc? ( app-doc/doxygen )
30 "
31
32 src_prepare() {
33 [[ -d m4 ]] || mkdir "m4"
34 base_src_prepare
35 [[ ${PV} == 9999 ]] && eautoreconf
36 }
37
38 src_configure() {
39 econf \
40 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
41 $(use_enable static-libs static) \
42 --disable-werror \
43 $(use_with doc docs)
44 }
45
46 src_install() {
47 default
48 prune_libtool_files --all
49 }

  ViewVC Help
Powered by ViewVC 1.1.20