diff options
Diffstat (limited to 'dev-perl')
-rw-r--r-- | dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild b/dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild new file mode 100644 index 0000000..5e97cd3 --- /dev/null +++ b/dev-perl/Net-PSYC/Net-PSYC-20160819.ebuild | |||
@@ -0,0 +1,64 @@ | |||
1 | # Copyright 1999-2016 Gentoo Foundation | ||
2 | # Distributed under the terms of the GNU General Public License v2 | ||
3 | |||
4 | EAPI=6 | ||
5 | |||
6 | DESCRIPTION="Perl implementation of PSYC protocol plus psycion, remotor, syslog2psyc etc." | ||
7 | HOMEPAGE="http://perlpsyc.cheettyiapsyciew.onion http://perl.psyc.eu http://perlpsyc.pages.de" | ||
8 | LICENSE="GPL-2+ Artistic" | ||
9 | SLOT="0" | ||
10 | KEYWORDS="~x86 ~ppc ~sparc ~amd64" # anything, really | ||
11 | |||
12 | # our version of eclass/git-r3 supports onion gits: | ||
13 | EGIT_REPO_URI="git://cheettyiapsyciew.onion/perlpsyc | ||
14 | git://git.psyced.org/git/perlpsyc" | ||
15 | |||
16 | inherit git-r3 user | ||
17 | #inherit perl-module | ||
18 | |||
19 | # providing actual commit hashes protects against man in | ||
20 | # the middle attacks on the way to the git repository -- | ||
21 | # then again, apparently a 'git fsck' is necessary to | ||
22 | # detect manipulated repositories --lynX | ||
23 | case ${PV} in | ||
24 | "20160819") | ||
25 | EGIT_COMMIT="400a73c07fae072904ab3653082a3431d44ddb7d" | ||
26 | ;; | ||
27 | *) | ||
28 | # last seen change | ||
29 | EGIT_COMMIT="400a73c07fae072904ab3653082a3431d44ddb7d" | ||
30 | # therefore, for security reasons "9999" doesn't actually | ||
31 | # emerge the latest version. please consult 'git log' and | ||
32 | # update the last EGIT_COMMIT to obtain a newer version. | ||
33 | # to obtain the commit of a particular release, execute | ||
34 | # 'git tag', 'git reset --hard <tag>', then 'git log'. | ||
35 | ;; | ||
36 | esac | ||
37 | |||
38 | # some perl library items used by some scripts.. FIXME | ||
39 | DEPEND="dev-lang/perl | ||
40 | dev-perl/Curses" | ||
41 | IUSE="rxaudio" | ||
42 | RDEPEND="rxaudio? ( media-sound/rxaudio-bin )" | ||
43 | |||
44 | src_compile() { | ||
45 | # extra check for cryptographic consistency | ||
46 | git fsck | ||
47 | make manuals | ||
48 | make html | ||
49 | } | ||
50 | |||
51 | src_install() { | ||
52 | #perl_set_version | ||
53 | ln -f bin/psyccmd bin/psycplay | ||
54 | dobin bin/* | ||
55 | # our code is not dependent on perl version | ||
56 | #insinto ${VENDOR_LIB} | ||
57 | insinto /usr/lib/perl5/vendor_perl | ||
58 | doins -r lib/perl5/* | ||
59 | dodoc -r *.txt cgi contrib hooks | ||
60 | insinto /usr/lib/psyc/ion | ||
61 | doins -r lib/psycion/* | ||
62 | doman share/man/* | ||
63 | dohtml htdocs/* | ||
64 | } | ||