gentoo-ebuilds/net-news/rsstool/rsstool-1.0.1_rc2-r1.ebuild
Alfred Wingate 52dab19f62
net-news/rsstool: add dev-libs/libxml2 subslot op for incoming ABI break
Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/41919
Signed-off-by: Sam James <sam@gentoo.org>
2025-06-09 04:11:08 +01:00

41 lines
773 B
Bash

# Copyright 1999-2025 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="https://downloads.sourceforge.net/${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
}