/[gentoo-x86]/media-radio/xastir/xastir-2.0.4.ebuild
Gentoo

Diff of /media-radio/xastir/xastir-2.0.4.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.1 Revision 1.6
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2014 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/media-radio/xastir/xastir-2.0.4.ebuild,v 1.1 2012/12/07 14:31:19 tomjbe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-radio/xastir/xastir-2.0.4.ebuild,v 1.6 2014/09/27 12:01:19 tomjbe Exp $
4 4
5EAPI=4 5EAPI=4
6inherit autotools eutils 6inherit autotools eutils flag-o-matic toolchain-funcs
7 7
8DESCRIPTION="X Amateur Station Tracking and Information Reporting" 8DESCRIPTION="X Amateur Station Tracking and Information Reporting"
9HOMEPAGE="http://xastir.sourceforge.net/" 9HOMEPAGE="http://xastir.sourceforge.net/"
10SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" 10SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
11 11
12LICENSE="GPL-2" 12LICENSE="GPL-2"
13SLOT="0" 13SLOT="0"
14KEYWORDS="~amd64 ~x86" 14KEYWORDS="amd64 x86"
15IUSE="festival gdal geotiff graphicsmagick" 15IUSE="festival gdal geotiff graphicsmagick"
16 16
17DEPEND=">=x11-libs/motif-2.3:0 17DEPEND=">=x11-libs/motif-2.3:0
18 x11-libs/libXt 18 x11-libs/libXt
19 x11-libs/libX11 19 x11-libs/libX11
44 epatch "${FILESDIR}"/${P}-no-builtin-shapelib.diff 44 epatch "${FILESDIR}"/${P}-no-builtin-shapelib.diff
45 45
46 # do not filter duplicate flags (see bug 411095) 46 # do not filter duplicate flags (see bug 411095)
47 epatch "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff 47 epatch "${FILESDIR}"/${PN}-2.0.0-dont-filter-flags.diff
48 48
49 # fix deprectated AM_CONFIG_HEADER macro
50 sed -i -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" configure.ac || die
51
49 eautoreconf 52 eautoreconf
50} 53}
51 54
52src_configure() { 55src_configure() {
56 # provide include path to GraphicsMagic for configure stage
57 use graphicsmagick && append-cflags -I/usr/include/GraphicsMagick
53 econf --with-pcre \ 58 econf --with-pcre \
54 --with-shapelib \ 59 --with-shapelib \
55 --with-dbfawk \ 60 --with-dbfawk \
56 --without-ax25 \ 61 --without-ax25 \
57 --without-gpsman \ 62 --without-gpsman \
59 $(use_with graphicsmagick) \ 64 $(use_with graphicsmagick) \
60 $(use_with geotiff libproj) \ 65 $(use_with geotiff libproj) \
61 $(use_with geotiff) \ 66 $(use_with geotiff) \
62 $(use_with gdal) \ 67 $(use_with gdal) \
63 $(use_with festival) 68 $(use_with festival)
69}
70
71src_compile() {
72 emake AR="$(tc-getAR)"
64} 73}
65 74
66src_install() { 75src_install() {
67 emake DESTDIR="${D}" install 76 emake DESTDIR="${D}" install
68 77

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20