diff options
author | Ian Delaney <idella4@gentoo.org> | 2013-08-28 13:16:24 +0000 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2013-08-28 13:16:24 +0000 |
commit | 391c021e621d8c017df56b6a625080e651a1aa9d (patch) | |
tree | 2512f729790f9fe97d721218fc937ed64da14670 /app-misc/note/note-1.3.3-r1.ebuild | |
parent | Fix wxwidgets dependency and DEPEND (diff) | |
download | gentoo-2-391c021e621d8c017df56b6a625080e651a1aa9d.tar.gz gentoo-2-391c021e621d8c017df56b6a625080e651a1aa9d.tar.bz2 gentoo-2-391c021e621d8c017df56b6a625080e651a1aa9d.zip |
revbump -> EAPI 5
(Portage version: 2.2.0/cvs/Linux x86_64, signed Manifest commit with key 0xB8072B0D)
Diffstat (limited to 'app-misc/note/note-1.3.3-r1.ebuild')
-rw-r--r-- | app-misc/note/note-1.3.3-r1.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/app-misc/note/note-1.3.3-r1.ebuild b/app-misc/note/note-1.3.3-r1.ebuild new file mode 100644 index 000000000000..19cccf946a04 --- /dev/null +++ b/app-misc/note/note-1.3.3-r1.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/note/note-1.3.3-r1.ebuild,v 1.1 2013/08/28 13:16:24 idella4 Exp $ + +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 +} |