mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
@@ -1,2 +1 @@
|
||||
DIST tin-2.6.0.tar.xz 1575564 BLAKE2B 2f42261457b359c63461953335f25de21fd3e54b3730b5db39daf0f25929e8c39a4c89be4d558bed9ce81801d2e3cad3d163c1827d2f3064144d8b2bf34ae645 SHA512 d843bd313fd144fbb5f4c40e3f0f776cab3a974494adc7004ee265235ab538dde520bc72c956d5a8517225fdb50e754b444f25bd3b661ddf51ff9e4135904862
|
||||
DIST tin-2.6.1.tar.xz 1570500 BLAKE2B ec9c54b8b89ecd33a42ede37c8db50828de2dce56ddff01900121903a18d73bde8a06733ca2dfb72c676eb373b5ea874cecb9a1ee7890ada4ad6539d9ff1a435 SHA512 dc9ace5e24cac1efcaac25df1747dd435573130cff4e9c846c89e8faaed8e8120d66a2021332c01f350744155bcb7be608657285560a1a2457b4635cc8fa22b3
|
||||
|
||||
@@ -1,87 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit optfeature toolchain-funcs
|
||||
|
||||
DESCRIPTION="A threaded NNTP and spool based UseNet newsreader"
|
||||
HOMEPAGE="http://www.tin.org/"
|
||||
SRC_URI="ftp://ftp.tin.org/pub/news/clients/tin/stable/${P}.tar.xz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc x86 ~amd64-linux ~x86-linux ~ppc-macos"
|
||||
IUSE="cancel-locks debug gpg nls sasl socks5"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/icu:=
|
||||
dev-libs/libpcre:3
|
||||
dev-libs/uulib
|
||||
sys-libs/ncurses:=[unicode(+)]
|
||||
cancel-locks? ( >=net-libs/canlock-3.0:= )
|
||||
gpg? ( app-crypt/gnupg )
|
||||
nls? ( virtual/libintl )
|
||||
sasl? ( virtual/gsasl )
|
||||
socks5? ( net-proxy/dante )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
"
|
||||
|
||||
DOCS=(
|
||||
README{,.MAC,.WIN}
|
||||
doc/{CHANGES{,.old},CREDITS,TODO,WHATSNEW,filtering}
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
tc-export AR CC RANLIB
|
||||
|
||||
econf_args=(
|
||||
$(use_enable cancel-locks) $(use_with cancel-locks canlock)
|
||||
$(use_enable debug)
|
||||
$(use_enable gpg pgp-gpg)
|
||||
$(use_enable nls)
|
||||
$(use_with socks5 socks) $(use_with socks5)
|
||||
--disable-mime-strict-charset
|
||||
--enable-nntp-only
|
||||
--enable-prototypes
|
||||
--with-coffee
|
||||
--with-nntp-default-server="${TIN_DEFAULT_SERVER:-${NNTPSERVER:-news.gmane.io}}"
|
||||
--with-pcre=/usr
|
||||
--with-screen=ncursesw
|
||||
)
|
||||
|
||||
# set default paths for utilities
|
||||
econf_args+=(
|
||||
--with-editor="${EPREFIX}"/usr/libexec/editor
|
||||
--with-gpg="${EPREFIX}"/usr/bin/gpg
|
||||
--with-ispell="${EPREFIX}"/usr/bin/aspell
|
||||
--with-mailer="${EPREFIX}"/bin/mail
|
||||
--with-metamail="${EPREFIX}"/usr/bin/metamail
|
||||
--with-sum="${EPREFIX}"/usr/bin/sum
|
||||
)
|
||||
|
||||
econf "${econf_args[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# To build from the root dir you have to call `make build`, not just
|
||||
# `make`.
|
||||
emake build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
emake DESTDIR="${D}" install_sysdefs
|
||||
emake -C src DESTDIR="${D}" install_nls_man
|
||||
|
||||
dodoc doc/{*.sample,*.txt}
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "view MIME articles" net-mail/metamail
|
||||
optfeature "spell checker support" app-text/aspell
|
||||
}
|
||||
Reference in New Issue
Block a user