summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2012-04-10 17:10:34 +0200
committerMichał Górny <mgorny@gentoo.org>2012-04-10 17:48:32 +0200
commitabd485743d9bda7f020360f609e4c35282ecf3b3 (patch)
tree88d1e03d234ba4733b4e586cf63d385e335e0011 /dev-libs
parentmedia-gfx/pixels2pgf: Fix release ebuild blank line stripping. (diff)
downloadmgorny-abd485743d9bda7f020360f609e4c35282ecf3b3.tar.gz
mgorny-abd485743d9bda7f020360f609e4c35282ecf3b3.tar.bz2
mgorny-abd485743d9bda7f020360f609e4c35282ecf3b3.zip
dev-libs/libdivsufsort: Initial commit for libdivsufsort.
(Portage version: 2.2.0_alpha100/git/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libdivsufsort/libdivsufsort-9999.ebuild31
-rw-r--r--dev-libs/libdivsufsort/metadata.xml8
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild b/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild
new file mode 100644
index 0000000..618533e
--- /dev/null
+++ b/dev-libs/libdivsufsort/libdivsufsort-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit cmake-utils multilib
+
+#if LIVE
+ESVN_REPO_URI="http://libdivsufsort.googlecode.com/svn/trunk/"
+inherit subversion
+#endif
+
+DESCRIPTION="Suffix-sorting library (for BWT)"
+HOMEPAGE="http://code.google.com/p/libdivsufsort/"
+SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.bz2"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+#if LIVE
+KEYWORDS=
+SRC_URI=
+#endif
+
+src_prepare() {
+ # will appreciate saner approach, if there is any
+ sed -i -e "s:\(DESTINATION \)lib:\1$(get_libdir):" \
+ */CMakeLists.txt || die
+}
diff --git a/dev-libs/libdivsufsort/metadata.xml b/dev-libs/libdivsufsort/metadata.xml
new file mode 100644
index 0000000..5cb9324
--- /dev/null
+++ b/dev-libs/libdivsufsort/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+</pkgmetadata>