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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Sun Jun 29 16:43:25 2014 UTC (5 years, 6 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Stable for x86, wrt bug #514886

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

1 # Copyright 1999-2014 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.0.0.ebuild,v 1.3 2014/05/25 11:53:31 zlogene 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="http://www.freedesktop.org/wiki/Software/libfreehand/"
13 [[ ${PV} == 9999 ]] || SRC_URI="http://dev-www.libreoffice.org/src/${P}.tar.xz"
14
15 LICENSE="MPL-2.0"
16 SLOT="0"
17 [[ ${PV} == 9999 ]] || \
18 KEYWORDS="amd64 ~arm ~ppc x86"
19 IUSE="doc static-libs"
20
21 RDEPEND="
22 app-text/libwpd:0.9
23 app-text/libwpg:0.2
24 sys-libs/zlib
25 "
26 DEPEND="${RDEPEND}
27 dev-util/gperf
28 sys-devel/libtool
29 virtual/pkgconfig
30 doc? ( app-doc/doxygen )
31 "
32
33 src_prepare() {
34 [[ -d m4 ]] || mkdir "m4"
35 base_src_prepare
36 [[ ${PV} == 9999 ]] && eautoreconf
37 }
38
39 src_configure() {
40 econf \
41 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
42 $(use_enable static-libs static) \
43 --disable-werror \
44 $(use_with doc docs)
45 }
46
47 src_install() {
48 default
49 prune_libtool_files --all
50 }

  ViewVC Help
Powered by ViewVC 1.1.20