From: "Guillaume Horel" <guillaume.horel@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/, dev-libs/utf8proc/files/
Date: Mon, 27 Jan 2014 03:00:57 +0000 (UTC) [thread overview]
Message-ID: <1390763182.326596f002769e7a6a8d744b2c79ae7c2b2bb747.guillaume_horel@gentoo> (raw)
commit: 326596f002769e7a6a8d744b2c79ae7c2b2bb747
Author: Uwe L. Korn <uwelk <AT> xhochy <DOT> com>
AuthorDate: Sun Jan 26 19:06:22 2014 +0000
Commit: Guillaume Horel <guillaume.horel <AT> gmail <DOT> com>
CommitDate: Sun Jan 26 19:06:22 2014 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=326596f0
Add ebuild for utf8proc
Package-Manager: portage-2.2.7
---
dev-libs/utf8proc/ChangeLog | 9 ++++++
.../utf8proc/files/utf8proc-1.1.6-buildflags.patch | 11 +++++++
.../utf8proc/files/utf8proc-1.1.6-soname.patch | 11 +++++++
dev-libs/utf8proc/metadata.xml | 5 +++
dev-libs/utf8proc/utf8proc-1.1.6.ebuild | 36 ++++++++++++++++++++++
5 files changed, 72 insertions(+)
diff --git a/dev-libs/utf8proc/ChangeLog b/dev-libs/utf8proc/ChangeLog
new file mode 100644
index 0000000..f859697
--- /dev/null
+++ b/dev-libs/utf8proc/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for dev-libs/utf8proc
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*utf8proc-1.1.6 (26 Jan 2014)
+
+ 26 Jan 2014; <xhochy@gentoo.org> +files/utf8proc-1.1.6-buildflags.patch,
+ +files/utf8proc-1.1.6-soname.patch, +metadata.xml, +utf8proc-1.1.6.ebuild:
+ Add ebuild for utf8proc
diff --git a/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch b/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch
new file mode 100644
index 0000000..d9ff3be
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-1.1.6-buildflags.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2014-01-26 18:55:57.400996757 +0000
++++ b/Makefile 2014-01-26 19:00:10.264164095 +0000
+@@ -3,7 +3,7 @@
+
+ # settings
+
+-cflags = -O2 -std=c99 -pedantic -Wall -fpic $(CFLAGS)
++cflags = -std=c99 -pedantic -fpic $(CFLAGS)
+ cc = $(CC) $(cflags)
+
+
diff --git a/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch b/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch
new file mode 100644
index 0000000..c046370
--- /dev/null
+++ b/dev-libs/utf8proc/files/utf8proc-1.1.6-soname.patch
@@ -0,0 +1,11 @@
+--- a/Makefile 2014-01-26 19:01:17.723542649 +0000
++++ b/Makefile 2014-01-26 19:02:24.532907919 +0000
+@@ -34,7 +34,7 @@
+ ar rs libutf8proc.a utf8proc.o
+
+ libutf8proc.so: utf8proc.o
+- $(cc) -shared -o libutf8proc.so utf8proc.o
++ $(cc) -Wl,-soname,libutf8proc.so -shared -o libutf8proc.so utf8proc.o
+ chmod a-x libutf8proc.so
+
+ libutf8proc.dylib: utf8proc.o
diff --git a/dev-libs/utf8proc/metadata.xml b/dev-libs/utf8proc/metadata.xml
new file mode 100644
index 0000000..d369d06
--- /dev/null
+++ b/dev-libs/utf8proc/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>sci</herd>
+</pkgmetadata>
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 0000000..81df460
--- /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
+}
next reply other threads:[~2014-01-27 3:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 3:00 Guillaume Horel [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-05-23 15:53 [gentoo-commits] proj/sci:master commit in: dev-libs/utf8proc/, dev-libs/utf8proc/files/ Justin Lecher
2020-09-25 22:19 Aisha Tammy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1390763182.326596f002769e7a6a8d744b2c79ae7c2b2bb747.guillaume_horel@gentoo \
--to=guillaume.horel@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox