| 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/potrace/potrace-1.10-r1.ebuild,v 1.12 2012/05/09 17:11:21 aballier Exp $ |
| 4 |
|
| 5 |
EAPI="4" |
| 6 |
|
| 7 |
inherit autotools-utils |
| 8 |
|
| 9 |
DESCRIPTION="Transforming bitmaps into vector graphics" |
| 10 |
HOMEPAGE="http://potrace.sourceforge.net/" |
| 11 |
SRC_URI="http://potrace.sourceforge.net/download/${P}.tar.gz" |
| 12 |
|
| 13 |
LICENSE="GPL-2" |
| 14 |
SLOT="0" |
| 15 |
KEYWORDS="alpha amd64 ~arm ~hppa ia64 ppc sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" |
| 16 |
IUSE="metric static-libs" |
| 17 |
|
| 18 |
RDEPEND="sys-libs/zlib" |
| 19 |
DEPEND="${RDEPEND}" |
| 20 |
|
| 21 |
DOCS=( AUTHORS ChangeLog NEWS README ) |
| 22 |
|
| 23 |
src_configure() { |
| 24 |
local myeconfargs=( |
| 25 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} |
| 26 |
--enable-zlib |
| 27 |
--with-libpotrace |
| 28 |
$(use_enable metric a4) |
| 29 |
$(use_enable metric) |
| 30 |
) |
| 31 |
autotools-utils_src_configure |
| 32 |
} |