| 1 |
# Copyright 1999-2013 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/isl/isl-0.10.ebuild,v 1.1 2012/06/24 04:30:22 dirtyepic Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit eutils
|
| 7 |
|
| 8 |
DESCRIPTION="A library for manipulating integer points bounded by affine constraints"
|
| 9 |
HOMEPAGE="http://www.kotnet.org/~skimo/isl/"
|
| 10 |
SRC_URI="http://www.kotnet.org/~skimo/isl/${P}.tar.bz2"
|
| 11 |
|
| 12 |
LICENSE="LGPL-2.1"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="~amd64 ~x86"
|
| 15 |
IUSE="static-libs"
|
| 16 |
|
| 17 |
RDEPEND="dev-libs/gmp"
|
| 18 |
DEPEND="${RDEPEND}"
|
| 19 |
|
| 20 |
DOCS=( ChangeLog AUTHORS doc/manual.pdf )
|
| 21 |
|
| 22 |
src_prepare() {
|
| 23 |
epatch "${FILESDIR}"/${PN}-0.07-gdb-autoload-dir.patch
|
| 24 |
|
| 25 |
# m4/ax_create_pkgconfig_info.m4 is broken but avoid eautoreconf
|
| 26 |
# http://groups.google.com/group/isl-development/t/37ad876557e50f2c
|
| 27 |
sed -i -e '/Libs:/s:@LDFLAGS@ ::' configure || die #382737
|
| 28 |
}
|
| 29 |
|
| 30 |
src_configure() {
|
| 31 |
econf $(use_enable static-libs static)
|
| 32 |
}
|
| 33 |
|
| 34 |
src_install() {
|
| 35 |
default
|
| 36 |
prune_libtool_files
|
| 37 |
}
|