/[gentoo-x86]/sci-visualization/fig2sxd/fig2sxd-0.20.ebuild
Gentoo

Contents of /sci-visualization/fig2sxd/fig2sxd-0.20.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (hide annotations) (download)
Mon Aug 6 20:55:31 2012 UTC (2 years, 4 months ago) by bicatali
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Added zlib dependency, keyword amd64-linux, x86-linux

(Portage version: 2.2.01.20796-prefix/cvs/Linux x86_64)

1 fauli 1.2 # Copyright 1999-2010 Gentoo Foundation
2 markusle 1.1 # Distributed under the terms of the GNU General Public License v2
3 bicatali 1.3 # $Header: /var/cvsroot/gentoo-x86/sci-visualization/fig2sxd/fig2sxd-0.20.ebuild,v 1.2 2010/01/02 18:21:49 fauli Exp $
4 markusle 1.1
5     EAPI="2"
6    
7     inherit eutils toolchain-funcs
8    
9     DESCRIPTION="A utility to convert files in xfig format to OpenOffice.org Draw format"
10     LICENSE="GPL-2"
11    
12     HOMEPAGE="http://sourceforge.net/projects/fig2sxd"
13     SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.orig.tar.gz
14     mirror://sourceforge/${PN}/${PN}_${PV}-1.diff.gz"
15    
16     SLOT="0"
17    
18 fauli 1.2 KEYWORDS="~amd64 ~x86 ~x86-linux ~ppc-macos"
19 markusle 1.1
20     IUSE=""
21    
22     src_prepare() {
23     epatch "${WORKDIR}"/${PN}_${PV}-1.diff
24     epatch "${FILESDIR}"/${P}-ldflags.patch
25     epatch "${FILESDIR}"/${P}-phony-check.patch
26     }
27    
28     src_compile() {
29     emake CXXFLAGS="${CXXFLAGS}" CXX="$(tc-getCXX)" \
30     || die "emake failed"
31     }
32    
33     src_install() {
34     dobin ${PN} || die "Failed to install binary."
35     doman ${PN}.1 || die "Failed to install man page."
36     dodoc changelog || die "Failed ton install docs."
37     }

  ViewVC Help
Powered by ViewVC 1.1.20