summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-05-12 22:17:29 +0000
committerJeremy Olexa <darkside@gentoo.org>2010-05-12 22:17:29 +0000
commit1c90042e4e7693474b6d68ef2016e092d7ef8b81 (patch)
treeb0dae9d6b2645b2af4b221a9787ff58021ccc366 /net-news/snownews
parentAdd prefix keywords, bug 318219 (diff)
downloadhistorical-1c90042e4e7693474b6d68ef2016e092d7ef8b81.tar.gz
historical-1c90042e4e7693474b6d68ef2016e092d7ef8b81.tar.bz2
historical-1c90042e4e7693474b6d68ef2016e092d7ef8b81.zip
Add Gentoo Prefix changes, bump to EAPI3, add keywords. bug 316825
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-news/snownews')
-rw-r--r--net-news/snownews/ChangeLog5
-rw-r--r--net-news/snownews/Manifest4
-rw-r--r--net-news/snownews/snownews-1.5.12-r1.ebuild19
3 files changed, 16 insertions, 12 deletions
diff --git a/net-news/snownews/ChangeLog b/net-news/snownews/ChangeLog
index 3339908a7358..5f4419625b3b 100644
--- a/net-news/snownews/ChangeLog
+++ b/net-news/snownews/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-news/snownews
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/ChangeLog,v 1.32 2010/03/17 13:23:29 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/ChangeLog,v 1.33 2010/05/12 22:17:29 darkside Exp $
+
+ 12 May 2010; Jeremy Olexa <darkside@gentoo.org> snownews-1.5.12-r1.ebuild:
+ Add Gentoo Prefix changes, bump to EAPI3, add keywords. bug 316825
17 Mar 2010; CĂ©dric Krier <cedk@gentoo.org> snownews-1.5.10.ebuild,
snownews-1.5.12-r1.ebuild:
diff --git a/net-news/snownews/Manifest b/net-news/snownews/Manifest
index 6274e1b5e52a..30a36fa462f5 100644
--- a/net-news/snownews/Manifest
+++ b/net-news/snownews/Manifest
@@ -2,6 +2,6 @@ AUX snownews-1.5.7-stdint.patch 405 RMD160 bfe2b19ea3a3987ca76cc7437ebe6d6dddd94
DIST snownews-1.5.10.tar.gz 171699 RMD160 4650fc194c458fbf212f81cfc5e6080a3d4fb26d SHA1 e5a068418f34f3437267eff6356729b9d8714701 SHA256 76d91d17efcfa4814f6e96e20430fb216bd76f190453b2cb4e1fb330a8a9dee8
DIST snownews-1.5.12.tar.gz 167944 RMD160 dbe9c6b88e77ce37bb23e4d3ddc8d63f8bd66151 SHA1 b3addaac25c2c093aa5e60b8b89e50e7d7450bcf SHA256 26dd96e9345d9cbc1c0c9470417080dd0c3eb31e7ea944f78f3302d7060ecb90
EBUILD snownews-1.5.10.ebuild 1122 RMD160 57e2df74b66a92377bc9aa64ac2f847c2b0da830 SHA1 26b2c9479135779c84f82aa9658b3611dda7e7c4 SHA256 665edd6beed06f1533d888ee4116bef5016fa88a320720a111369c5921dcbde3
-EBUILD snownews-1.5.12-r1.ebuild 1380 RMD160 9970fbc432b28b7c1dbdcbdb3855b9d19e7c5919 SHA1 4c57d171f5a118a358e71484324dddee362cef98 SHA256 ca0ab9406a1486993c4492c1fe28d6c4a58bd9ec65959b9dcefc5b7d21e6a9f4
-MISC ChangeLog 7011 RMD160 ab418130b7582ff26ea3ceb6642c34ad92596327 SHA1 9246572462fb1e08f1f3c41156c06caee34b7163 SHA256 5b2188b899f17de4134ff44f98d6772b05e857b138cbeb111b391936677c89a7
+EBUILD snownews-1.5.12-r1.ebuild 1434 RMD160 ac57d7d844ca7824e44764b9047cd2d5694479a6 SHA1 48997ad1d6180eef5df493cf61ce0aec5f03fbb7 SHA256 1e6caa7cbb023c243f4c77dda6441fcdb8fd1f5849669ba74074ea27e56a9d3a
+MISC ChangeLog 7162 RMD160 35823ec9041a7344a85b8eb43d017823852d393c SHA1 4d0bfa545aec9b85e647c7198172b6fd9d6c3b77 SHA256 c72739e94a930073404e6d34e572a0c1f9083f9f0e3516ffc63a1897cdd4b5be
MISC metadata.xml 247 RMD160 74386d37b44f1f52420db27eb065704ca3792b08 SHA1 331e0cb0393cba71957b85acbcb170a77905e70e SHA256 5b84266e8a80e0234bbc5d8ad1a1d5d878c1960f7a1aba1871c0d3b281e9ff8f
diff --git a/net-news/snownews/snownews-1.5.12-r1.ebuild b/net-news/snownews/snownews-1.5.12-r1.ebuild
index 4d31ee6460c4..97d2898df1fc 100644
--- a/net-news/snownews/snownews-1.5.12-r1.ebuild
+++ b/net-news/snownews/snownews-1.5.12-r1.ebuild
@@ -1,7 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/snownews-1.5.12-r1.ebuild,v 1.2 2010/03/17 13:23:29 cedk Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-news/snownews/snownews-1.5.12-r1.ebuild,v 1.3 2010/05/12 22:17:29 darkside Exp $
+EAPI=3
inherit eutils toolchain-funcs
DESCRIPTION="Snownews, a text-mode RSS/RDF newsreader"
@@ -10,7 +11,7 @@ SRC_URI="http://home.kcore.de/~kiza/software/snownews/download/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
IUSE="unicode"
DEPEND=">=dev-libs/libxml2-2.5.6
@@ -28,10 +29,7 @@ pkg_setup() {
fi
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
+src_prepare() {
use unicode && sed -i -e "s/-lncurses/-lncursesw/" \
configure
@@ -42,14 +40,17 @@ src_unpack() {
Makefile
}
-src_compile() {
- local conf="--prefix=/usr"
+src_configure() {
+ local conf="--prefix=${EPREFIX}/usr"
./configure ${conf} || die "configure failed"
+}
+
+src_compile() {
emake CC="$(tc-getCC)" EXTRA_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}" || die "emake failed"
}
src_install() {
- emake PREFIX="${D}/usr" install || die "make install failed"
+ emake PREFIX="${ED}/usr" install || die "make install failed"
dodoc AUTHOR Changelog CREDITS README README.de README.patching
}