diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2007-09-19 01:12:16 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2007-09-19 01:12:16 +0000 |
commit | 79781dfa4f3aaf7ab32042af17c4da5de96b05ef (patch) | |
tree | 90a9e9dae7782eb34e04b1d0f091f22292b488b9 | |
parent | games-fps/uhexen2-cvs: Version bump (diff) | |
download | sunrise-79781dfa4f3aaf7ab32042af17c4da5de96b05ef.tar.gz sunrise-79781dfa4f3aaf7ab32042af17c4da5de96b05ef.tar.bz2 sunrise-79781dfa4f3aaf7ab32042af17c4da5de96b05ef.zip |
app-text/unac: New ebuild for bug 134732. Thanks to Vieri <rentorbuy@yahoo.com>
svn path=/sunrise/; revision=4680
-rw-r--r-- | app-text/unac/ChangeLog | 8 | ||||
-rw-r--r-- | app-text/unac/Manifest | 4 | ||||
-rw-r--r-- | app-text/unac/metadata.xml | 5 | ||||
-rw-r--r-- | app-text/unac/unac-1.8.0.ebuild | 44 |
4 files changed, 61 insertions, 0 deletions
diff --git a/app-text/unac/ChangeLog b/app-text/unac/ChangeLog new file mode 100644 index 000000000..764da76dc --- /dev/null +++ b/app-text/unac/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for app-text/unac +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 19 Sep 2007; Alexandre Rostovtsev (tetromino) <tetromino@gmail.com> + +metadata.xml, +unac-1.8.0.ebuild: + New ebuild for bug 134732. Thanks to Vieri <rentorbuy@yahoo.com> + diff --git a/app-text/unac/Manifest b/app-text/unac/Manifest new file mode 100644 index 000000000..4fca66b7d --- /dev/null +++ b/app-text/unac/Manifest @@ -0,0 +1,4 @@ +DIST unac_1.8.0.orig.tar.gz 281807 RMD160 6cc899d4e55fe740ecaf96342a9904555601156b SHA1 3e779bb7f3b505880ac4f43b48ee2f935ef8aa36 SHA256 29d316e5b74615d49237556929e95e0d68c4b77a0a0cfc346dc61cf0684b90bf +EBUILD unac-1.8.0.ebuild 1038 RMD160 4739448dc9d248a2fd9894cba5286525ca443d1e SHA1 28a7a8d4dee4fa0d5be49e7c0aa908dd49c8cc8a SHA256 08e92e5581107492c7a1cdf3539b96a389464d8aaaf10c2819ecabb24ebc70e8 +MISC ChangeLog 289 RMD160 c4822ed94f7cb7dfb03d42abd0ce77e35963a6e4 SHA1 4f9e1a3adb48e7bae5d4d11e23e3b2dd572cf9b6 SHA256 c9fec7b62e3c833109cbeadf918271915f7cec9c2a5e928f3efd44557d25f859 +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/app-text/unac/metadata.xml b/app-text/unac/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/app-text/unac/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>maintainer-wanted</herd> +</pkgmetadata> diff --git a/app-text/unac/unac-1.8.0.ebuild b/app-text/unac/unac-1.8.0.ebuild new file mode 100644 index 000000000..39a5649d0 --- /dev/null +++ b/app-text/unac/unac-1.8.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit autotools + +DESCRIPTION="unac is a C library and a command line tool that removes accents from characters." +HOMEPAGE="http://www.senga.org/" +SRC_URI="mirror://debian/pool/main/u/unac/${P/-/_}.orig.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="virtual/libiconv" +DEPEND="${RDEPEND} + dev-lang/perl" + +S="${WORKDIR}/${P}.orig" + +src_unpack() { + unpack ${A} + cd "${S}" + # otherwise automake will fail + touch config.rpath + eautoreconf +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS + doman unaccent.1 unac.3 +} + +pkg_postinst() { + einfo + einfo "Examples of using unaccent from the command line:" + einfo "unaccent utf8 été" + einfo "echo -e '\\\\0303\\\\0251t\\\\0303\\\\0251' | unaccent utf8" + einfo "unaccent ISO-8859-1 < myfile > myfile.unaccent" + einfo + einfo "man unaccent and man unac for more information." +} |