diff options
author | Thomas Anderson <tanderson@gentoo.org> | 2008-09-03 22:58:33 +0000 |
---|---|---|
committer | Thomas Anderson <tanderson@gentoo.org> | 2008-09-03 22:58:33 +0000 |
commit | 43ad6d4f1cd89ca5a52852b2b70e0cb362010f18 (patch) | |
tree | 3513ce40dd83cb760546d126a389c8ecfd6e7508 /dev-libs/stfl | |
parent | Block app-text/adiff, bug #227037 (diff) | |
download | historical-43ad6d4f1cd89ca5a52852b2b70e0cb362010f18.tar.gz historical-43ad6d4f1cd89ca5a52852b2b70e0cb362010f18.tar.bz2 historical-43ad6d4f1cd89ca5a52852b2b70e0cb362010f18.zip |
Version bump
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'dev-libs/stfl')
-rw-r--r-- | dev-libs/stfl/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/stfl/Manifest | 17 | ||||
-rw-r--r-- | dev-libs/stfl/files/stfl-0.19-multilib.patch | 46 | ||||
-rw-r--r-- | dev-libs/stfl/metadata.xml | 4 | ||||
-rw-r--r-- | dev-libs/stfl/stfl-0.19.ebuild | 90 |
5 files changed, 160 insertions, 5 deletions
diff --git a/dev-libs/stfl/ChangeLog b/dev-libs/stfl/ChangeLog index d2ebd60160ce..c0e506efe46a 100644 --- a/dev-libs/stfl/ChangeLog +++ b/dev-libs/stfl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/stfl # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.17 2008/07/20 22:34:57 gregkh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/ChangeLog,v 1.18 2008/09/03 22:58:33 gentoofan23 Exp $ + +*stfl-0.19 (03 Sep 2008) + + 03 Sep 2008; Thomas Anderson <gentoofan23@gentoo.org> + +files/stfl-0.19-multilib.patch, metadata.xml, +stfl-0.19.ebuild: + Version bump. 20 Jul 2008; Greg Kroah-Hartman <gregkh@gentoo.org> files/stfl-0.18-multilib.patch: diff --git a/dev-libs/stfl/Manifest b/dev-libs/stfl/Manifest index 1020f174e87b..d7c0ca64ae80 100644 --- a/dev-libs/stfl/Manifest +++ b/dev-libs/stfl/Manifest @@ -1,7 +1,20 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX stfl-0.18-multilib.patch 1768 RMD160 aee79ca9107e64a4abd0d31ccdc05a3566f1be82 SHA1 cba05ec3cb6a6755f82a64b67ea831d701b0a90c SHA256 346f187e4922e6652a1a0d9d2699948ccaf3ca4412fe05f8a5ae3cb94985f520 +AUX stfl-0.19-multilib.patch 2511 RMD160 b697ace49266e983aed097edb4d16b3e19ed42ba SHA1 05e82da8fc49337bf793e9e62159140cd6f5611b SHA256 cea3265dfec6be959c7bffe2605b7d62f52385f9f98eb7ba2d4f7ed4ce9a22ca DIST stfl-0.17.tar.gz 38950 RMD160 dc0fe9e1c1600667251069f9396fa044841d2d85 SHA1 315591618c7125daf3263b510e0e48aa82d73711 SHA256 d34fa8297bf15f13c206ef6eb3669cf3718fbcf0cd5abb47f704511c5f30ea7a DIST stfl-0.18.tar.gz 39188 RMD160 d3fc37aa7542c7e89d0957f8e25572f94e789b8d SHA1 d8ce5c7290ff438fcabac0fe4de2d54ae4ad5d49 SHA256 2295378d21596eb4aa5c775bfd0385db82825a18f093a9c0ba2a32c03f423832 +DIST stfl-0.19.tar.gz 40182 RMD160 e0b3b1a1405baf8b530e3d6a47a00f7167a0fa40 SHA1 f3183b3699687b25a602549284ac96122bc56482 SHA256 658aa189ce2751b0d15a1f2ea8f08fe8bf787dbc1049d606cb14885f73c2e33d EBUILD stfl-0.17.ebuild 1811 RMD160 35c10a60bfb3e28bed8aa14346a6908b449e4773 SHA1 09550a8c5c52ac11fd01432f443317a003f088c6 SHA256 86d005db36cbfc9b63280d70e3d09c02300bd433732a172a4680f4e01b494283 EBUILD stfl-0.18.ebuild 1893 RMD160 3e9d0b834b8ca7c9b9410e21b9ecd13cabaa426c SHA1 7f8b9067771169248a5c1e86f2b881b30c01d665 SHA256 03498e3fe781c8a985f91daa367a1979bb6388a24d496a16789abaa2e4557037 -MISC ChangeLog 2742 RMD160 3e6faba8457bc00f99fb1640bb6db2af51289ae6 SHA1 3f46d0916274555c533eba4f899e54c22f2b8271 SHA256 a2b75b443b6e40b4f04779820b703cf2aed283aba7010b51f6a23cc9f0bf6dbe -MISC metadata.xml 958 RMD160 1a2520070988f4026c3a61ac60d31c8709375d2d SHA1 f09bfa7b0291938d8e340d9e3a737593f195d69a SHA256 635aa2d0f7482a692831381f805e13ce267233bc68c5948cdda675c0b91a9d36 +EBUILD stfl-0.19.ebuild 2005 RMD160 159f0dac9ae706272b69f647ab05ae7545b75e34 SHA1 799a5e4f33b1af60e8e9452e95dffdb883af6110 SHA256 495b8ce097b212b378719721247442953add8ab0af56f3aabcab053173958bcd +MISC ChangeLog 2914 RMD160 e98c8d6a8189fef9256c2c63c36a16e6d6ccc7b6 SHA1 a26c8c5d4fb0d62d979265eb3e420d6a6cd1d272 SHA256 957bd7f41871c58fb9e36b2668e63edfa52033cf39886edef992a2535833aef1 +MISC metadata.xml 928 RMD160 a6ef85ffe95d97346102bb9c3760bef25c371ff4 SHA1 7240e5528021d47d9170e67cae1aae338a843fc2 SHA256 63b5cc21c004f06d90d0734c666d31ca3540c604fdaead8fa5260f6bdbe08d33 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAki/GlgACgkQF6yMcaBxwHnZ9ACeLhYaHaqqH7EKgTSRGcHgVACm +3voAn3YwtQZaUndGcxnghnracdlLTAnF +=vyeV +-----END PGP SIGNATURE----- diff --git a/dev-libs/stfl/files/stfl-0.19-multilib.patch b/dev-libs/stfl/files/stfl-0.19-multilib.patch new file mode 100644 index 000000000000..a32b09f0f566 --- /dev/null +++ b/dev-libs/stfl/files/stfl-0.19-multilib.patch @@ -0,0 +1,46 @@ +diff -aur stfl-0.19-orig/Makefile stfl-0.19/Makefile +--- stfl-0.19-orig/Makefile 2007-09-19 19:24:14.000000000 -0400 ++++ stfl-0.19/Makefile 2008-09-02 20:05:10.000000000 -0400 +@@ -50,9 +50,9 @@ + mv -f Makefile.deps_new Makefile.deps + + install: all +- mkdir -p $(DESTDIR)$(prefix)/lib ++ mkdir -p $(DESTDIR)$(prefix)/$(LIBDIR) + mkdir -p $(DESTDIR)$(prefix)/include +- install -m 644 libstfl.a $(DESTDIR)$(prefix)/lib/ ++ install -m 644 libstfl.a $(DESTDIR)$(prefix)/$(LIBDIR)/ + install -m 644 stfl.h $(DESTDIR)$(prefix)/include/ + + ifeq ($(FOUND_SPL),1) +diff -aur stfl-0.19-orig/python/Makefile.snippet stfl-0.19/python/Makefile.snippet +--- stfl-0.19-orig/python/Makefile.snippet 2007-09-03 12:13:04.000000000 -0400 ++++ stfl-0.19/python/Makefile.snippet 2008-09-02 20:00:40.000000000 -0400 +@@ -32,8 +32,8 @@ + cd python && python -c 'import stfl' + + install_python: python/_stfl.so python/stfl.py python/stfl.pyc +- mkdir -p $(DESTDIR)$(prefix)/lib/python$(PYTHON_VERSION)/lib-dynload/ +- cp python/_stfl.so $(DESTDIR)$(prefix)/lib/python$(PYTHON_VERSION)/lib-dynload/ +- cp python/stfl.pyc $(DESTDIR)$(prefix)/lib/python$(PYTHON_VERSION)/ +- cp python/stfl.py $(DESTDIR)$(prefix)/lib/python$(PYTHON_VERSION)/ ++ mkdir -p $(DESTDIR)$(prefix)/$(LIBDIR)/python$(PYTHON_VERSION)/lib-dynload/ ++ cp python/_stfl.so $(DESTDIR)$(prefix)/$(LIBDIR)/python$(PYTHON_VERSION)/lib-dynload/ ++ cp python/stfl.pyc $(DESTDIR)$(prefix)/$(LIBDIR)/python$(PYTHON_VERSION)/ ++ cp python/stfl.py $(DESTDIR)$(prefix)/$(LIBDIR)/python$(PYTHON_VERSION)/ + +diff -aur stfl-0.19-orig/ruby/Makefile.snippet stfl-0.19/ruby/Makefile.snippet +--- stfl-0.19-orig/ruby/Makefile.snippet 2007-09-03 12:13:04.000000000 -0400 ++++ stfl-0.19/ruby/Makefile.snippet 2008-09-02 20:02:40.000000000 -0400 +@@ -25,9 +25,9 @@ + + ruby/build_ok: libstfl.a stfl.h ruby/stfl.i swig/*.i + cd ruby && swig -ruby stfl.i && ruby extconf.rb +- $(MAKE) -C ruby clean && $(MAKE) -C ruby LIBS+="../libstfl.a -lncursesw" CFLAGS+="-pthread -I.." DLDFLAGS+="-pthread" DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir=$(prefix)/lib/ruby ++ $(MAKE) -C ruby clean && $(MAKE) -C ruby LIBS+="../libstfl.a -lncursesw" CFLAGS+="-pthread -I.." DLDFLAGS+="-pthread" DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir=$(prefix)/$(LIBDIR)/ruby + touch ruby/build_ok + + install_ruby: ruby/build_ok +- $(MAKE) -C ruby DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir='$(DESTDIR)$(prefix)/lib/ruby' install ++ $(MAKE) -C ruby DESTDIR=$(DESTDIR) prefix=$(prefix) sitedir='$(DESTDIR)$(prefix)/$(LIBDIR)/ruby' install + diff --git a/dev-libs/stfl/metadata.xml b/dev-libs/stfl/metadata.xml index 2605acf6a640..b32e3d8ac98c 100644 --- a/dev-libs/stfl/metadata.xml +++ b/dev-libs/stfl/metadata.xml @@ -3,8 +3,8 @@ <pkgmetadata> <herd>no-herd</herd> <maintainer> - <email>maintainer-needed@gentoo.org</email> - <name>Default assignee for orphaned packages</name> + <email>gentoofan23@gmail.com</email> + <name>Thomas Anderson</name> </maintainer> <longdescription lang="en"> STFL is a library which implements a curses-based widget set for text diff --git a/dev-libs/stfl/stfl-0.19.ebuild b/dev-libs/stfl/stfl-0.19.ebuild new file mode 100644 index 000000000000..eba4229df98c --- /dev/null +++ b/dev-libs/stfl/stfl-0.19.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/stfl/stfl-0.19.ebuild,v 1.1 2008/09/03 22:58:33 gentoofan23 Exp $ + +inherit perl-module toolchain-funcs eutils multilib + +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="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="examples perl python ruby" + +COMMON_DEPEND="sys-libs/ncurses + perl? ( dev-lang/perl ) + ruby? ( dev-lang/ruby ) + python? ( dev-lang/python )" + +DEPEND="${COMMON_DEPEND} + perl? ( dev-lang/swig ) + ruby? ( dev-lang/swig )" + +RDEPEND="${COMMON_DEPEND}" + +pkg_setup() { + if ! built_with_use sys-libs/ncurses unicode ; then + eerror "For this package to compile you must" + eerror "enable unicode use flag for ncurses." + eerror "Please re-emerge ncurses with unicode" + eerror "use flag." + die + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + sed -i \ + -e "s!-Os -ggdb!!" \ + -e "s!^all:.*!all: libstfl.a!" \ + Makefile + + epatch "${FILESDIR}/${P}-multilib.patch" + + if ! use perl; then + echo "FOUND_PERL5=0" >>Makefile.cfg + fi + + if ! use ruby; then + echo "FOUND_RUBY=0" >>Makefile.cfg + fi + + if ! use python; then + echo "FOUND_PYTHON=0" >>Makefile.cfg + fi +} + +src_compile() { + emake CC="$(tc-getCC)" || die "make failed" +} + +src_install() { + + emake prefix="/usr" DESTDIR="${D}" LIBDIR="$(get_libdir)" install || die "make install failed" + + dodoc README + + local exdir="/usr/share/doc/${PF}/examples" + 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 + ## Remove some empty directories + rm -fr "${D}/usr/$(get_libdir)/perl5/5.8.8/" || die "Perl directory cleanup failed" +} |