/[gentoo-x86]/x11-libs/xbae/xbae-4.60.4.ebuild
Gentoo

Contents of /x11-libs/xbae/xbae-4.60.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.18 - (show annotations) (download)
Wed Oct 24 19:47:25 2012 UTC (7 years ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.17: +2 -2 lines
Update dependency after package move from x11-libs/openmotif to x11-libs/motif.

(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key E7BE08CA7DC6EA25)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-libs/xbae/xbae-4.60.4.ebuild,v 1.17 2012/08/15 17:43:22 bicatali Exp $
4
5 EAPI=4
6
7 inherit autotools-utils
8
9 DESCRIPTION="Motif-based widget to display a grid of cells as a spreadsheet"
10 HOMEPAGE="http://xbae.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
12
13 LICENSE="BSD"
14 KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux"
15 SLOT="0"
16 IUSE="doc examples static-libs"
17
18 RDEPEND="
19 x11-libs/motif:0
20 x11-libs/libXau
21 x11-libs/libXdmcp
22 x11-libs/libXext
23 x11-libs/libXmu
24 x11-libs/libXpm
25 x11-libs/libXt"
26
27 DEPEND="${RDEPEND}"
28
29 # tests need X display
30 # and are interactive so virtualx will not help
31 RESTRICT=test
32
33 PATCHES=(
34 "${FILESDIR}"/${P}-tmpl.patch
35 "${FILESDIR}"/${P}-lxmp.patch
36 "${FILESDIR}"/${P}-Makefile.in.patch
37 )
38
39 src_configure() {
40 local myeconfargs=( --enable-production )
41 autotools-utils_src_configure
42 }
43
44 src_test() {
45 cd ${AUTOTOOLS_BUILD_DIR}/examples
46 emake
47 "${S}"/examples/testall
48 emake clean
49 }
50
51 src_install() {
52 autotools-utils_src_install
53
54 insinto /usr/share/aclocal
55 doins ac_find_xbae.m4
56
57 use doc && dohtml -r doc/*
58
59 if use examples; then
60 find examples -name '*akefile*' -delete || die
61 rm examples/{testall,extest} || die
62 insinto /usr/share/doc/${PF}
63 doins -r examples
64 fi
65 }

  ViewVC Help
Powered by ViewVC 1.1.20