diff options
Diffstat (limited to 'dev-libs/stfl')
-rw-r--r-- | dev-libs/stfl/ChangeLog | 11 | ||||
-rw-r--r-- | dev-libs/stfl/Manifest | 16 | ||||
-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, 114 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..6477bd26ea6c --- /dev/null +++ b/dev-libs/stfl/Manifest @@ -0,0 +1,16 @@ +DIST stfl-0.8.tar.gz 28313 RMD160 6895f6ec21ebbb8b9c0eb75e66791c1d58b78711 SHA1 c6874626b3fdd9aba5adaf3c2feddd925dd5a119 SHA256 7c922fdc59c180b278dc9ef5dc76d6900cc6489d5a70a7f6b4275cae9a6afa1c +EBUILD stfl-0.8.ebuild 1317 RMD160 447de1703bc94b372f86e025e4574bb7b58fed79 SHA1 feb482a882173371ed6204b57d97b8cb3f05b77e SHA256 ef28d744ab037249484f806a676e37e5e6d1665e4413dcb832fb222ef7a78324 +MD5 9208a1afffe255cbd86134d1d1f9d4fc stfl-0.8.ebuild 1317 +RMD160 447de1703bc94b372f86e025e4574bb7b58fed79 stfl-0.8.ebuild 1317 +SHA256 ef28d744ab037249484f806a676e37e5e6d1665e4413dcb832fb222ef7a78324 stfl-0.8.ebuild 1317 +MISC ChangeLog 333 RMD160 da15e6b0dba7acec3b0d8101e217f2d45f446052 SHA1 ffd628933dc91f2ca534cc3a51330acc9f8a85cb SHA256 053b5fbeb66ae68f98dbbffb56e31305415737069431a767a5cc8b7dd9c3864d +MD5 b437afd02f12b51af919db497d8d2606 ChangeLog 333 +RMD160 da15e6b0dba7acec3b0d8101e217f2d45f446052 ChangeLog 333 +SHA256 053b5fbeb66ae68f98dbbffb56e31305415737069431a767a5cc8b7dd9c3864d ChangeLog 333 +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 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 +} |