diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-04-28 23:59:44 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-04-28 23:59:44 +0100 |
commit | 5f0030fd1370c4d03dbb2e0d3086f5e618a33749 (patch) | |
tree | d3996b456278fbe1e1528053ddd115c4bac05401 /net-misc/pedro/pedro-1.14.ebuild | |
parent | 413421048cc2b0df9a218f0ab3cb151846809eb5 (diff) |
gentoo auto-resync : 28:04:2024 - 23:59:44
Diffstat (limited to 'net-misc/pedro/pedro-1.14.ebuild')
-rw-r--r-- | net-misc/pedro/pedro-1.14.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/net-misc/pedro/pedro-1.14.ebuild b/net-misc/pedro/pedro-1.14.ebuild new file mode 100644 index 000000000000..19bf94c63701 --- /dev/null +++ b/net-misc/pedro/pedro-1.14.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 +} |