summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Touceda <chiiph@gmail.com>2009-09-21 13:14:22 -0300
committerChema Alonso Josa <nimiux@gentoo.org>2018-03-09 22:25:05 +0100
commitaaf1bf9fa184cbcabb7c382a3a67af01aaedf6c9 (patch)
tree2041d74afafbbd861cf106c7b82e4b00958cfe89 /dev-libs
parentdev-scheme/mosh: bump to version 0.2.0 (diff)
downloadlisp-aaf1bf9fa184cbcabb7c382a3a67af01aaedf6c9.tar.gz
lisp-aaf1bf9fa184cbcabb7c382a3a67af01aaedf6c9.tar.bz2
lisp-aaf1bf9fa184cbcabb7c382a3a67af01aaedf6c9.zip
Add dev-libs/libunistring-0.9.1.1
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libunistring/libunistring-0.9.1.1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/dev-libs/libunistring/libunistring-0.9.1.1.ebuild b/dev-libs/libunistring/libunistring-0.9.1.1.ebuild
new file mode 100644
index 00000000..ef3766f1
--- /dev/null
+++ b/dev-libs/libunistring/libunistring-0.9.1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+DESCRIPTION="Library for manipulating Unicode strings and for manipulating C strings according to the Unicode standard."
+HOMEPAGE="http://www.gnu.org/software/libunistring/"
+SRC_URI="http://ftp.gnu.org/gnu/libunistring/${P}.tar.gz"
+
+LICENSE="LGPL"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ if use doc; then
+ emake -C doc info html || die "Build doc failed"
+ fi
+
+ emake || die "Build failed"
+}
+
+src_install() {
+ dodoc AUTHORS README ChangeLog
+ if use doc; then
+ dohtml doc/libunistring.html
+ doinfo doc/libunistring.info
+ fi
+
+ emake DESTDIR="${D}" install || die "Install failed"
+}