mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-misc/note: cleanup old
Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="A note taking perl program"
|
||||
HOMEPAGE="http://www.daemon.de/NOTE"
|
||||
SRC_URI="http://www.daemon.de/files/mirror/ftp.daemon.de/scip/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? ( virtual/mysql
|
||||
dev-perl/DBD-mysql )"
|
||||
RDEPEND=""
|
||||
|
||||
src_install() {
|
||||
perl-module_src_install
|
||||
|
||||
# Adding some basic utitily for testing note
|
||||
dodir /usr/share/${PN}
|
||||
cp "${S}/bin/stresstest.sh" "${D}/usr/share/${PN}"
|
||||
|
||||
# Adding some help for mysql backend driver
|
||||
if use mysql; then
|
||||
dodir /usr/share/${PN}/mysql
|
||||
cp -r "${S}/mysql" "${D}/usr/share/${PN}"
|
||||
fi
|
||||
|
||||
# Adding a sample configuration file
|
||||
dodir /etc
|
||||
cp "${S}/config/noterc" "${D}/etc"
|
||||
|
||||
# Supressing file not needed
|
||||
for v in mysql text dbm general; do
|
||||
if ! use ${v}; then
|
||||
for u in `find "${D}" -type f -name *${v}.*pm`; do
|
||||
rm "${u}"
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
dodoc UPGRADE VERSION
|
||||
}
|
||||
Reference in New Issue
Block a user