diff options
author | Andrej Kacian <ticho@gentoo.org> | 2007-04-18 05:45:35 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2007-04-18 05:45:35 +0000 |
commit | c7feea61b8cc1f1cfba5eae690e51caa44024767 (patch) | |
tree | bb49573032feff6b49c1ca8ee3e77acddf4dbdfb /dev-libs/stfl | |
parent | Stable for HPPA (bug #174939). (diff) | |
download | historical-c7feea61b8cc1f1cfba5eae690e51caa44024767.tar.gz historical-c7feea61b8cc1f1cfba5eae690e51caa44024767.tar.bz2 historical-c7feea61b8cc1f1cfba5eae690e51caa44024767.zip |
Initial import. Ebuild submitted by Tim Weber <gentoo.bugs at scytale.de> in bug #174975, modified by me.
Package-Manager: portage-2.1.2.3
Diffstat (limited to 'dev-libs/stfl')
-rw-r--r-- | dev-libs/stfl/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/stfl/Manifest | 26 | ||||
-rw-r--r-- | dev-libs/stfl/files/digest-stfl-0.8 | 3 | ||||
-rw-r--r-- | dev-libs/stfl/metadata.xml | 19 | ||||
-rw-r--r-- | dev-libs/stfl/stfl-0.8.ebuild | 65 |
5 files changed, 124 insertions, 0 deletions
diff --git a/dev-libs/stfl/ChangeLog b/dev-libs/stfl/ChangeLog new file mode 100644 index 000000000000..ab622c743318 --- /dev/null +++ b/dev-libs/stfl/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-libs/stfl +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.1 2007/04/18 05:45:35 ticho Exp $ + +*stfl-0.8 (17 Apr 2007) + + 17 Apr 2007; Andrej Kacian <ticho@gentoo.org> +metadata.xml, + +stfl-0.8.ebuild: + Initial import. Ebuild submitted by Tim Weber <gentoo.bugs at scytale.de> in + bug #174975, modified by me. + diff --git a/dev-libs/stfl/Manifest b/dev-libs/stfl/Manifest new file mode 100644 index 000000000000..d6e0418d4dd6 --- /dev/null +++ b/dev-libs/stfl/Manifest @@ -0,0 +1,26 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +DIST stfl-0.8.tar.gz 28313 RMD160 6895f6ec21ebbb8b9c0eb75e66791c1d58b78711 SHA1 c6874626b3fdd9aba5adaf3c2feddd925dd5a119 SHA256 7c922fdc59c180b278dc9ef5dc76d6900cc6489d5a70a7f6b4275cae9a6afa1c +EBUILD stfl-0.8.ebuild 1407 RMD160 63620b9ced71cf238b6cfa515086d048f8c0c462 SHA1 a0bbb5d52b2db4391cb88475cd9aba459b287d66 SHA256 239b5d5db738f47ac806289a90759d86b665ab9c3c7c02c535d3de7ef593bac5 +MD5 62976f5810f148869779ed1965d4b511 stfl-0.8.ebuild 1407 +RMD160 63620b9ced71cf238b6cfa515086d048f8c0c462 stfl-0.8.ebuild 1407 +SHA256 239b5d5db738f47ac806289a90759d86b665ab9c3c7c02c535d3de7ef593bac5 stfl-0.8.ebuild 1407 +MISC ChangeLog 417 RMD160 861642365f61d3e0a2337232517dc89f5d060297 SHA1 0f401853cb3f08ca4694fc6703e886b0fba58c7c SHA256 5f7ed4ef976502c57f0c8af95c14316e98254d7af13f73afc1a1692738b03b83 +MD5 e83e759c5dc125bb87675981587ec73f ChangeLog 417 +RMD160 861642365f61d3e0a2337232517dc89f5d060297 ChangeLog 417 +SHA256 5f7ed4ef976502c57f0c8af95c14316e98254d7af13f73afc1a1692738b03b83 ChangeLog 417 +MISC metadata.xml 854 RMD160 29ac50626abeccbd3103efddaf1133a90aedef95 SHA1 0ee1c61aea66ff23397ddfd85a3e6b16042fa5e9 SHA256 0cf06fb2f96477ecde9a853c16e188ba48e090c938660db1640eb6b83140046a +MD5 273e53ed1cdad4efc75b154144904ecd metadata.xml 854 +RMD160 29ac50626abeccbd3103efddaf1133a90aedef95 metadata.xml 854 +SHA256 0cf06fb2f96477ecde9a853c16e188ba48e090c938660db1640eb6b83140046a metadata.xml 854 +MD5 5fecb0a0400395bb3b13a9043ab64ca9 files/digest-stfl-0.8 223 +RMD160 f17e578ba0d7b3aa4eae9d512676beaebb44bc5d files/digest-stfl-0.8 223 +SHA256 22b3870a14124f951b981cedc176b44bb3eee643f430a2f23bd86368f5e0db98 files/digest-stfl-0.8 223 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFGJbCFQlM6RnzZP+IRAmgvAKCKTlTHQyohxJZeQn83DpTZodsggQCeIdP+ +lSuStAl5A/CpsBpnZ6w07+Q= +=BNaa +-----END PGP SIGNATURE----- diff --git a/dev-libs/stfl/files/digest-stfl-0.8 b/dev-libs/stfl/files/digest-stfl-0.8 new file mode 100644 index 000000000000..539f5af6a4e8 --- /dev/null +++ b/dev-libs/stfl/files/digest-stfl-0.8 @@ -0,0 +1,3 @@ +MD5 87a7df20c007d91181c3daa70270bffc stfl-0.8.tar.gz 28313 +RMD160 6895f6ec21ebbb8b9c0eb75e66791c1d58b78711 stfl-0.8.tar.gz 28313 +SHA256 7c922fdc59c180b278dc9ef5dc76d6900cc6489d5a70a7f6b4275cae9a6afa1c stfl-0.8.tar.gz 28313 diff --git a/dev-libs/stfl/metadata.xml b/dev-libs/stfl/metadata.xml new file mode 100644 index 000000000000..3eeda94000cf --- /dev/null +++ b/dev-libs/stfl/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> + <email>ticho@gentoo.org</email> +</maintainer> +<longdescription> +STFL is a library which implements a curses-based widget set for text terminals. +The STFL API can be used from C, SPL, Python, Perl and Ruby. Since the API is +only 14 simple function calls big and there are already generic SWIG bindings it +is very easy to port STFL to additional scripting languages. + +A special language (the Structured Terminal Forms Language) is used to describe +STFL GUIs. The language is designed to be easy and fast to write so an +application programmer does not need to spend ages fiddling around with the GUI +and can concentrate on the more interesting programming tasks. +</longdescription> +</pkgmetadata> diff --git a/dev-libs/stfl/stfl-0.8.ebuild b/dev-libs/stfl/stfl-0.8.ebuild new file mode 100644 index 000000000000..f9a3402751dd --- /dev/null +++ b/dev-libs/stfl/stfl-0.8.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.8.ebuild,v 1.1 2007/04/18 05:45:35 ticho Exp $ + +inherit perl-module + +DESCRIPTION="A library which implements a curses-based widget set for text terminals" +HOMEPAGE="http://www.clifford.at/stfl/" +SRC_URI="http://www.clifford.at/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="examples perl ruby" + +DEPEND="sys-libs/ncurses + perl? ( dev-lang/swig dev-lang/perl ) + ruby? ( dev-lang/swig dev-lang/ruby )" + +RDEPEND="sys-libs/ncurses + perl? ( dev-lang/perl ) + ruby? ( dev-lang/ruby )" + +src_unpack() { + unpack "${A}" + cd "${S}" + sed -i \ + -e 's!-O0 -ggdb!!' \ + -e 's!^all:.*!all: libstfl.a!' \ + Makefile + + sed -i -e "s:/usr/lib/python2.4:${D}/usr/lib/python2.4:" \ + python/Makefile.snippet +} + +src_compile() { + emake || die "make failed" +} + +src_install() { + local exdir="/usr/share/doc/${PF}/examples" + + dodir /usr/lib/python2.4/lib-dynload + emake prefix="${D}/usr" DESTDIR="${D}" install || die "make install failed" + + dodoc README + + if use examples; then + insinto ${exdir} + doins example.{c,stfl} + insinto ${exdir}/python + doins python/example.py + if use perl; then + insinto ${exdir}/perl + doins perl5/example.pl + fi + if use ruby; then + insinto ${exdir}/ruby + doins ruby/example.rb + fi + fi + + fixlocalpod +} |