From 6bc2e4d7c5906e46a8f275a876ead6ec41aca5bb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Feb 2019 15:40:27 +0000 Subject: gentoo resync : 10.02.2019 --- app-misc/note/Manifest | 1 + app-misc/note/note-1.3.3-r2.ebuild | 61 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 app-misc/note/note-1.3.3-r2.ebuild (limited to 'app-misc/note') diff --git a/app-misc/note/Manifest b/app-misc/note/Manifest index d782ceceec2f..be8ab37d9b93 100644 --- a/app-misc/note/Manifest +++ b/app-misc/note/Manifest @@ -1,3 +1,4 @@ DIST note-1.3.3.tar.gz 42691 BLAKE2B f4dc9b5c006925c04706260ed0d11f1c5bfb0923786284401c1f824936a32b61a60e516b35070cb4dcd8302caec820aad37e02c31c5fd50a8931d4cba54ef5ad SHA512 99744394084eec3bf84ecef10b2bc294375f18f6ce41614316c4f4bc02a73297f4b3a956f48fb424bb0b0f100ea23debea49c1029887ca52043dd733de0fcfad EBUILD note-1.3.3-r1.ebuild 1231 BLAKE2B ba0eef1712c8668bf5fb31b3f6c65b760030bac6f15201111c93ec9b6915735cee9ca434ac4c94d258a397f419379f45ae1feceee80d9bc7ec094560eb17694c SHA512 3510b02d469fc064209e3534db4353c51cd5057ab329d1cde7fa363e1b1a89ddf18b1ec3e7ee15b6b98eb563a93c48a053558a043a5313696261081f16174c2f +EBUILD note-1.3.3-r2.ebuild 1324 BLAKE2B 7a604b50b71997aceae7e83b7ecf9ccb5f6408caa7f65b21156d759ea58d5c300f6bbbe6a8dffe16e2e6deabcf799b6e0f4bcdf783e0b09aa8518b664570731c SHA512 02de76e10586c371652f6189893a59eba3a500d479470fa95707fbd9175e0c7259f4e21c03e780a3de1ae20f0c46a4e43be10e2cce5bfbee47193db1520aa84b MISC metadata.xml 304 BLAKE2B 31f4157a7266980036c3450e1a3fa977448d5d5080189bb76c0dc974e6de75ce80b4f675f2f7a2bfa216c918337539f800d7f029e9ca9f930ac797caf8caf6d6 SHA512 0f0f283bc7066279d7d9dc7e9148173b1f7c5efdae22cf9013e6b04d15f68889016fb1c856d0a7906961023aaa7c302f93b8c5d2a0f65a4a333d318f699c70bc diff --git a/app-misc/note/note-1.3.3-r2.ebuild b/app-misc/note/note-1.3.3-r2.ebuild new file mode 100644 index 000000000000..fc0e6b7a020b --- /dev/null +++ b/app-misc/note/note-1.3.3-r2.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit perl-module + +DESCRIPTION="A note taking perl program" +HOMEPAGE="https://www.daemon.de/NOTE" +SRC_URI="https://www.daemon.de/idisk/Apps/note/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="crypt dbm general mysql text" + +DEPEND="dev-perl/TermReadKey + dev-perl/Term-ReadLine-Perl + virtual/perl-Storable + dev-perl/Config-General + crypt? ( dev-perl/Crypt-CBC + dev-perl/Crypt-Blowfish + dev-perl/Crypt-DES ) + mysql? ( dev-perl/DBD-mysql )" +RDEPEND="${DEPEND}" + +# extraneous README that gets installed into the perl module +PERL_RM_FILES=( NOTEDB/README ) + +src_prepare() { + # Supressing file not needed + local v + for v in mysql text dbm general; do + if ! use ${v}; then + PERL_RM_FILES+=( NOTEDB/${v}.pm ) + fi + done + perl-module_src_prepare +} + +src_install() { + perl-module_src_install + + # Adding some basic utitily for testing note + exeinto /usr/share/${PN} + doexe bin/stresstest.sh + + # Adding some help for mysql backend driver + if use mysql; then + insinto /usr/share/${PN}/mysql + exeinto /usr/share/${PN}/mysql + doins mysql/{README,sql,permissions} + doexe mysql/install.sh + fi + + # Adding a sample configuration file + insinto /etc + doins config/noterc + + dodoc UPGRADE VERSION +} -- cgit v1.2.3