diff options
Diffstat (limited to 'dev-libs/polylib')
-rw-r--r-- | dev-libs/polylib/files/polylib-9999-headers.patch | 10 | ||||
-rw-r--r-- | dev-libs/polylib/metadata.xml | 5 | ||||
-rw-r--r-- | dev-libs/polylib/polylib-9999.ebuild | 29 |
3 files changed, 44 insertions, 0 deletions
diff --git a/dev-libs/polylib/files/polylib-9999-headers.patch b/dev-libs/polylib/files/polylib-9999-headers.patch new file mode 100644 index 000000000000..69b7b271a926 --- /dev/null +++ b/dev-libs/polylib/files/polylib-9999-headers.patch @@ -0,0 +1,10 @@ +--- a/applications/ehrhart_union.c ++++ b/applications/ehrhart_union.c +@@ -1,6 +1,7 @@ + #include <stdio.h> + #include <string.h> + #include <stdlib.h> ++#include <unistd.h> + + #include <polylib/polylib.h> + diff --git a/dev-libs/polylib/metadata.xml b/dev-libs/polylib/metadata.xml new file mode 100644 index 000000000000..effbbf33eac8 --- /dev/null +++ b/dev-libs/polylib/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer><email>maintainer-needed@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/dev-libs/polylib/polylib-9999.ebuild b/dev-libs/polylib/polylib-9999.ebuild new file mode 100644 index 000000000000..d1bbe4695696 --- /dev/null +++ b/dev-libs/polylib/polylib-9999.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EGIT_REPO_URI="git://repo.or.cz/${PN}.git + http://repo.or.cz/r/${PN}.git" +EGIT_BOOTSTRAP="eautoreconf && cd cln && eautoreconf" +inherit git-2 autotools eutils + +DESCRIPTION="ppl port of cloog" +HOMEPAGE="http://icps.u-strasbg.fr/polylib/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="" +IUSE="" + +src_unpack() { + git-2_src_unpack + cd "${S}" + epatch "${FILESDIR}"/${P}-headers.patch + # strip LDFLAGS from pkgconfig .pc file + sed -i '/Libs:/s:@LDFLAGS@::' configure +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc doc/Changes +} |