blob: 2fae434e8179804c9ca30356193a431f69fa9dde (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit toolchain-funcs
MY_P=${PN}-${PV/_}
DESCRIPTION="cmdline tool to read, parse, merge, and write RSS (and Atom) feeds"
HOMEPAGE="https://sourceforge.net/projects/rsstool/"
SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.zip"
S="${WORKDIR}"/${MY_P}-src/src
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 x86"
RDEPEND="
dev-libs/libxml2
net-misc/curl
"
DEPEND="${RDEPEND}"
BDEPEND="app-arch/unzip"
src_prepare() {
default
sed -e '1i#!/bin/bash' -i configure || die
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_install() {
emake DESTDIR="${D}" BINDIR="/usr/bin" install
docinto html
dodoc ../{changes,faq,readme}.html
}
|