summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2017-09-22 01:38:43 -0400
committerTim Harder <radhermit@gentoo.org>2017-09-22 01:38:43 -0400
commite78ab16073e836300ad095ae935823ee6b159e40 (patch)
tree89ffa3699e6b6dacee142a7c6b43ad4686f5bd3e /dev-libs/stfl
parentnet-news/newsboat: initial import, fork of newsbeuter (diff)
downloadgentoo-e78ab16073e836300ad095ae935823ee6b159e40.tar.gz
gentoo-e78ab16073e836300ad095ae935823ee6b159e40.tar.bz2
gentoo-e78ab16073e836300ad095ae935823ee6b159e40.zip
dev-libs/stfl: remove old
Diffstat (limited to 'dev-libs/stfl')
-rw-r--r--dev-libs/stfl/Manifest1
-rw-r--r--dev-libs/stfl/stfl-0.23.ebuild118
2 files changed, 0 insertions, 119 deletions
diff --git a/dev-libs/stfl/Manifest b/dev-libs/stfl/Manifest
index 285d8a9567ec..5de8895a9172 100644
--- a/dev-libs/stfl/Manifest
+++ b/dev-libs/stfl/Manifest
@@ -1,2 +1 @@
-DIST stfl-0.23.tar.gz 43941 SHA256 e75ed8427905ad50faf43ed5fefd0cf7b16ee0c1ca87e15d33e360bb92aedfde SHA512 02a7323740364acac4063d002775d04358bc9f98d8df4d83ec9dcdc9d9f46840be1cab0d2526c8cdc7a441784ec95100792edd1bbd1fa2365ce20ef4141a0e6e WHIRLPOOL 6331623402ae5a7df97df6c135b043e8c9b327de78ab2916e122489bdf1108871aef7772c016b5f567f8a00dca1f4274fce4add3d2d9a625f5aca911301c9730
DIST stfl-0.24.tar.gz 45585 SHA256 d4a7aa181a475aaf8a8914a8ccb2a7ff28919d4c8c0f8a061e17a0c36869c090 SHA512 95df4574b1bc32d795751156dc5b93afbca3ba241607a3a55210c89dda61b9a26ad574bb5f729a0158c9052235dbf63d6c58b38e7f1061d14ab7062af6150fa0 WHIRLPOOL 76545f41802a5f019ee44598368958a13551c3ed70747f45da88d61bc9ba882e514659b3c8f47805a7c199229078abc22ac5a79680b803244bfe8e29a081f10e
diff --git a/dev-libs/stfl/stfl-0.23.ebuild b/dev-libs/stfl/stfl-0.23.ebuild
deleted file mode 100644
index 212ff7317c56..000000000000
--- a/dev-libs/stfl/stfl-0.23.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-PYTHON_COMPAT=( python{2_7,3_4} )
-GENTOO_DEPEND_ON_PERL=no
-inherit eutils multilib perl-module python-r1 toolchain-funcs
-
-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 ppc x86"
-IUSE="examples perl python ruby static-libs"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-RDEPEND="
- sys-libs/ncurses:0=[unicode]
- perl? ( dev-lang/perl:= )
- ruby? ( dev-lang/ruby:* )
- python? ( ${PYTHON_DEPS} )
-"
-DEPEND="${RDEPEND}
- perl? ( dev-lang/swig )
- python? ( >=dev-lang/swig-1.3.40 )
- ruby? ( dev-lang/swig )
-"
-
-src_prepare() {
- sed -i \
- -e 's/-Os -ggdb//' \
- -e 's/^\(all:.*\) example/\1/' \
- -e 's/$(CC) -shared/$(CC) $(LDFLAGS) -shared/' \
- -e 's/ -o $@ $(LDLIBS) $^/ $^ $(LDLIBS) -o $@/' \
- -e 's/-lncursesw/-lncursesw -pthread/' \
- Makefile || die "sed failed"
-
- if ! use static-libs ; then
- sed -i -e "/install .* libstfl.a/d" Makefile || die
- fi
-
- epatch "${FILESDIR}"/${PN}-0.21-python.patch
- epatch "${FILESDIR}"/${PN}-0.22-soname-symlink.patch
- epatch "${FILESDIR}"/${PN}-0.22-ruby-sharedlib.patch
-
- if use perl ; then
- echo "FOUND_PERL5=1" >> Makefile.cfg
- else
- echo "FOUND_PERL5=0" >> Makefile.cfg
- fi
-
- if use ruby ; then
- echo "FOUND_RUBY=1" >> Makefile.cfg
- else
- echo "FOUND_RUBY=0" >> Makefile.cfg
- fi
-
- echo "FOUND_PYTHON=0" >> Makefile.cfg
-}
-
-src_configure() { :; }
-
-src_compile() {
- emake CC="$(tc-getCC)"
-
- if use python ; then
- local BUILD_DIR="${S}/python"
- python_copy_sources
-
- # Based on code from python/Makefile.snippet.
- building() {
- pushd "${BUILD_DIR}" &>/dev/null || die
- echo swig -python -threads stfl.i
- swig -python -threads stfl.i || die
- echo "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} -lncursesw -o _stfl.so
- "$(tc-getCC)" ${CFLAGS} ${LDFLAGS} -shared -pthread -fPIC stfl_wrap.c -I$(python_get_includedir) -I.. ../libstfl.so.${PV} -lncursesw -o _stfl.so || die
- popd &>/dev/null || die
- }
- python_foreach_impl building
- fi
-}
-
-src_install() {
- emake prefix="/usr" DESTDIR="${D}" libdir="$(get_libdir)" install
-
- if use python ; then
- local BUILD_DIR="${S}/python"
-
- installation() {
- pushd "${BUILD_DIR}" &>/dev/null || die
- python_domodule stfl.py _stfl.so
- popd &>/dev/null || die
- }
- python_foreach_impl installation
- fi
-
- 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
-
- perl_delete_localpod
-}