/[gentoo-x86]/media-gfx/sam2p/sam2p-0.49.1.ebuild
Gentoo

Contents of /media-gfx/sam2p/sam2p-0.49.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.9 - (show annotations) (download)
Sun Sep 9 16:55:29 2012 UTC (8 months, 1 week ago) by armin76
Branch: MAIN
CVS Tags: HEAD
Changes since 1.8: +2 -2 lines
alpha/ia64/s390/sh/sparc stable wrt #419071

(Portage version: 2.1.11.9/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-gfx/sam2p/sam2p-0.49.1.ebuild,v 1.8 2012/08/22 08:10:53 xmw Exp $
4
5 EAPI=4
6 inherit autotools eutils toolchain-funcs
7
8 DESCRIPTION="Utility to convert raster images to EPS, PDF and many others"
9 HOMEPAGE="http://code.google.com/p/sam2p/"
10 SRC_URI="http://sam2p.googlecode.com/files/${P}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
15 IUSE="examples gif"
16
17 RDEPEND=""
18 DEPEND="dev-lang/perl"
19
20 RESTRICT="test"
21
22 src_prepare() {
23 epatch \
24 "${FILESDIR}"/${PN}-0.45-fbsd.patch \
25 "${FILESDIR}"/${PN}-0.49.1-build.patch
26 eautoreconf
27 tc-export CXX
28 }
29
30 src_configure() {
31 econf --enable-lzw $(use_enable gif)
32 }
33
34 src_install() {
35 dobin sam2p
36 dodoc README
37
38 if use examples; then
39 insinto /usr/share/doc/${PF}/examples
40 doins examples/*
41 fi
42 }

  ViewVC Help
Powered by ViewVC 1.1.13