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