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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Wed Jul 22 19:33:49 2015 UTC (4 years, 5 months ago) by ago
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +2 -2 lines
Stable for x86, wrt bug #555584

(Portage version: 2.2.20/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.1.ebuild,v 1.2 2015/07/22 19:32:29 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-libs/icu:=
27 dev-util/gperf
28 media-libs/lcms
29 sys-devel/libtool
30 virtual/pkgconfig
31 doc? ( app-doc/doxygen )
32 "
33
34 src_prepare() {
35 [[ -d m4 ]] || mkdir "m4"
36 base_src_prepare
37 [[ ${PV} == 9999 ]] && eautoreconf
38 }
39
40 src_configure() {
41 econf \
42 --docdir="${EPREFIX}/usr/share/doc/${PF}" \
43 $(use_enable static-libs static) \
44 --disable-werror \
45 $(use_with doc docs)
46 }
47
48 src_install() {
49 default
50 prune_libtool_files --all
51 }

  ViewVC Help
Powered by ViewVC 1.1.20