From abaa75b10f899ada8dd05b23cc03205064394bc6 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 22 Jan 2021 20:28:19 +0000 Subject: gentoo resync : 22.01.2021 --- app-misc/geneweb/Manifest | 2 + app-misc/geneweb/geneweb-7.0.0-r2.ebuild | 71 ++++++++++++++++++++++++++++++++ 2 files changed, 73 insertions(+) create mode 100644 app-misc/geneweb/geneweb-7.0.0-r2.ebuild (limited to 'app-misc/geneweb') diff --git a/app-misc/geneweb/Manifest b/app-misc/geneweb/Manifest index 98fb71066a5c..27f166f559a6 100644 --- a/app-misc/geneweb/Manifest +++ b/app-misc/geneweb/Manifest @@ -3,5 +3,7 @@ AUX geneweb-6.08.01-gentoo.patch 865 BLAKE2B 25fc6d494997de4cd053757d0e18df4cefd AUX geneweb.confd 67 BLAKE2B 83af31b2708fc64dfba852fce65d6c76bf71bceff40ef5b7ef32a58ea9ae941771569d664f3fc0d555dd8ac9e78740fc0449d1011dbcfeeb66dd320c7b1f44fd SHA512 5d7e373c042ba1de97261807cf3b223157c0f383106b4fb2f2b04de21214218ad3a6e0f097101d45cb61e74d90d060ead93dc6e79a125ad97a0126690ae732b3 AUX geneweb.initd 429 BLAKE2B d216c7970cd7e62a3732faeee6ac97062712023a6bbad6d6542aaf930f4e7e34d4f3e3cb844b734ee3e8fbae9950438f1a7d5b7206e9a2d304b77095107e5814 SHA512 8daa663aa7d7f614ddd709616411b2078dad492813de80dd9be9866c61a1ed97c41b28ec94fece79648e2c587b991ab0820e6601891add6d0c6867fe82782eb8 DIST geneweb-6.08.01.tar.gz 1796215 BLAKE2B 4b7d05126d244984b62ebadda3419ba8cf97326ac3103c73ca5433a8f9edeab8acd968d05942d299e70127bcf75efe5cb9a9af9f7d97ec08fd9a8a6a5aae100d SHA512 54e1ed05e540f1de167c66dee46976a8324a37ca36a9dfd6ab03105fe925053c570842e1a263499fd8bd7aecfebac8f9596b1573fcec1e104e3892337376f84d +DIST geneweb-7.0.0.tar.gz 14767981 BLAKE2B 3a0a777a934d26fa91bd94d20311c6147e749961035b57aed8322c4e96f5cead2edde3a96e362b5de35073fa594d4cb5f3ef0f4d7eeaebea2095bfeef37740b6 SHA512 359b8e2258d572198a7516dd03830e536038392d552482f25fe4b93ded76dccebfe3c420eb2ba1a566500200755c87cbe19a2060eaeea895bd84c505b7b65345 EBUILD geneweb-6.08.01.ebuild 2193 BLAKE2B fbd1b8f71b4c1e1e33956659b08f5e4ea441a8266dae4b65103721520851e2a6eaa0f5c9d8a35d261a4677d1b1d88c939064fcc933e1e0952202c880ab251b1b SHA512 8c2c767970c1f6bcf9824ce5b4003e6452ada10a2c31b49f707a1aa9c8bff2323141065e553e3e07efef4a66568997769a6643ffb535748f1446832b1dbbbab0 +EBUILD geneweb-7.0.0-r2.ebuild 1750 BLAKE2B 58ab5f6b018c476b22212fcf18ce266e2bfabf174e83ccab7c31f92e09ccacf2fb6c279c73931f0f686da0b17455204ec5f698c58e407932b75b637722ab3087 SHA512 d5a5acd361d5103e7cf382193efa9201dbd5544e8a39b06fd413f6fc92b0e3abde4c281c46c73780e2bc046fb60e9cd8e2a20013e255984c705d3721d3400473 MISC metadata.xml 652 BLAKE2B 0a523f6b4dd3d65cf1668c16c07d1a9a4547bbcb9a800c4f9f706973d159ce434c2567d5b23609bd33f8c5f3ca4a25d8e7c485e15a640a941d21fd29fd52589d SHA512 7c94f8655959224e21113156e943d28dc9653f767fcd0cb6a9e7ec149abf3deabe850b404ba3b92384fd5bc919cce973c73b622746efc2a2862c86a62136d973 diff --git a/app-misc/geneweb/geneweb-7.0.0-r2.ebuild b/app-misc/geneweb/geneweb-7.0.0-r2.ebuild new file mode 100644 index 000000000000..e96a2f98c991 --- /dev/null +++ b/app-misc/geneweb/geneweb-7.0.0-r2.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit eutils + +DESCRIPTION="Genealogy software program with a Web interface" +HOMEPAGE="https://github.com/geneweb/geneweb" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="strip !test? ( test )" + +RDEPEND="dev-lang/ocaml[ocamlopt?] + =dev-ml/markup-1.0.0:= + dev-ml/unidecode:= + dev-ml/calendars:=" +DEPEND="${RDEPEND} + dev-ml/cppo + test? ( dev-ml/ounit )" + +QA_FLAGS_IGNORED='.*' + +src_configure() { + ocaml ./configure.ml +} + +src_compile() { + if use ocamlopt; then + emake + else + emake OCAMLC=ocamlc OCAMLOPT=ocamlopt out + # If using bytecode we dont want to strip the binary as it would remove + # the bytecode and only leave ocamlrun... + fi +} + +src_install() { + default + mv "${D}"/usr/bin/{,gw}setup || die + rm -r "${D}"/usr/doc || die + dodoc ICHANGES etc/README.txt etc/a.gwf + + # Install manpages + doman man/* + + emake distrib + cd distribution/gw + insinto /usr/share/${PN} + doins -r etc images lang setup gwd.arg only.txt + + newinitd "${FILESDIR}/geneweb.initd" geneweb + newconfd "${FILESDIR}/geneweb.confd" geneweb +} + +pkg_postinst() { + einfo "A CGI program has been installed in /usr/lib/${PN}. Follow the" + einfo "instructions on the README in that directory to use it" + einfo "If you come from an old version you need to rebuild the database" + einfo "\"gwu foo > foo.gw \" will save the database (use the previous" + einfo "version to do that). \"gwc2 foo.gw -o bar \" will restore it " + einfo "(using the current package)" +} -- cgit v1.2.3