You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-misc/pedro/pedro-1.12.ebuild

59 lines
1.0 KiB

# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools toolchain-funcs
DESCRIPTION="Pedro is a subscription/notification communications system"
HOMEPAGE="https://staff.itee.uq.edu.au/pjr/HomePages/PedroHome.html"
SRC_URI="https://staff.itee.uq.edu.au/pjr/HomePages/PedroFiles/${P}.tgz
doc? ( https://dev.gentoo.org/~keri/distfiles/pedro/${PN}-manual-1.x.tar.gz )"
S="${WORKDIR}"/${P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="doc examples"
RDEPEND="dev-libs/glib:2"
DEPEND="
${RDEPEND}
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}"/${P}-portage.patch
)
src_prepare() {
default
eautoreconf
}
src_configure() {
tc-export PKG_CONFIG
default
}
src_install() {
default
if use doc ; then
dodoc "${WORKDIR}"/${PN}.pdf
fi
if use examples ; then
docinto examples
dodoc src/examples/*.{c,tcl}
docinto examples/java_api
dodoc src/java_api/*.java
docinto examples/python_api
dodoc src/python_api/*.py
fi
}