aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUwe L. Korn <uwelk@xhochy.com>2014-01-26 19:06:22 +0000
committerUwe L. Korn <uwelk@xhochy.com>2014-01-26 19:06:22 +0000
commit326596f002769e7a6a8d744b2c79ae7c2b2bb747 (patch)
treeb974d3f4367d210d7bbeb1e16d3c8eb27c196485 /dev-libs/utf8proc/utf8proc-1.1.6.ebuild
parentMerge branch 'master' of github.com:gentoo-science/sci (diff)
downloadsci-326596f002769e7a6a8d744b2c79ae7c2b2bb747.tar.gz
sci-326596f002769e7a6a8d744b2c79ae7c2b2bb747.tar.bz2
sci-326596f002769e7a6a8d744b2c79ae7c2b2bb747.zip
Add ebuild for utf8proc
Package-Manager: portage-2.2.7
Diffstat (limited to 'dev-libs/utf8proc/utf8proc-1.1.6.ebuild')
-rw-r--r--dev-libs/utf8proc/utf8proc-1.1.6.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-libs/utf8proc/utf8proc-1.1.6.ebuild b/dev-libs/utf8proc/utf8proc-1.1.6.ebuild
new file mode 100644
index 000000000..81df46089
--- /dev/null
+++ b/dev-libs/utf8proc/utf8proc-1.1.6.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="library for processing UTF-8 encoded Unicode strings"
+HOMEPAGE="http://www.public-software-group.org/utf8proc"
+SRC_URI="http://www.public-software-group.org/pub/projects/${PN}/v${PV}/utf8proc-v${PV}.tar.gz"
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="static-libs"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-soname.patch \
+ "${FILESDIR}"/${P}-buildflags.patch
+}
+
+src_compile() {
+ emake libutf8proc.so
+ use static-libs & emake libutf8proc.a
+}
+
+src_install() {
+ doheader utf8proc.h
+ dolib.so libutf8proc.so
+ use static-libs && dolib.a libutf8proc.a
+}