aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:26 +0000
committerpsyc://loupsycedyglgamf.onion/~lynX <ircs://psyced.org/youbroketheinternet>1984-04-04 00:44:26 +0000
commitf51a55778cddb465258aa264c722f29111330bab (patch)
tree2d6112fd2b0983a0e0aff6c9396fccea761338a2
parentfa73253b37e804e6a37c10fe0f463895d2de48a7 (diff)
downloadyoubroketheinternet-overlay-f51a55778cddb465258aa264c722f29111330bab.tar.gz
youbroketheinternet-overlay-f51a55778cddb465258aa264c722f29111330bab.zip
perlpsyc that comes with mplayer-frontend "psycamp"
-rw-r--r--dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild68
1 files changed, 68 insertions, 0 deletions
diff --git a/dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild b/dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild
new file mode 100644
index 0000000..d021e96
--- /dev/null
+++ b/dev-perl/Net-PSYC/Net-PSYC-20170610.ebuild
@@ -0,0 +1,68 @@
1# Copyright 1999-2016 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3
4EAPI=6
5
6DESCRIPTION="Perl implementation of PSYC protocol plus psycion, psycamp, remotor etc."
7HOMEPAGE="http://perlpsyc.cheettyiapsyciew.onion http://perl.psyc.eu http://perlpsyc.pages.de"
8LICENSE="GPL-2+ Artistic"
9SLOT="0"
10
11# isn't it pointless to have a list of architectures for architecture-independent packages?
12KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86 amd64-fbsd sparc-fbsd x86-fbsd"
13
14# our version of eclass/git-r3 supports onion gits:
15EGIT_REPO_URI="/usr/local/src/perlpsyc
16 git://git.cheettyiapsyciew.onion/perlpsyc
17 git://git.psyced.org/git/perlpsyc"
18
19inherit git-r3 user perl-module
20
21# providing actual commit hashes protects against man in
22# the middle attacks on the way to the git repository --
23# then again, apparently a 'git fsck' is necessary to
24# detect manipulated repositories --lynX
25case ${PV} in
26"20170610")
27 EGIT_COMMIT="5a24e0e643885a16e7c3b7b6ac50e4db31e476d0"
28 ;;
29*)
30 # last seen change
31 EGIT_COMMIT="5a24e0e643885a16e7c3b7b6ac50e4db31e476d0"
32 # therefore, for security reasons "9999" doesn't actually
33 # emerge the latest version. please consult 'git log' and
34 # update the last EGIT_COMMIT to obtain a newer version.
35 # to obtain the commit of a particular release, execute
36 # 'git tag', 'git reset --hard <tag>', then 'git log'.
37 ;;
38esac
39
40# some perl library items used by some scripts.. FIXME
41DEPEND="dev-lang/perl
42 dev-perl/Curses"
43IUSE="rxaudio +mplayer"
44RDEPEND="rxaudio? ( media-sound/rxaudio-bin )
45 mplayer? ( media-video/mplayer )"
46
47src_compile() {
48 # extra check for cryptographic consistency
49 git fsck
50 make manuals
51 make html
52}
53
54src_install() {
55 #perl_set_version
56 ln -f bin/psyccmd bin/psycplay
57 dobin bin/*
58 # our code is not dependent on perl version
59 insinto ${VENDOR_LIB}
60 # but gentoo doesnt let us have it our way
61 #insinto /usr/lib/perl5/vendor_perl
62 doins -r lib/perl5/*
63 dodoc -r *.txt cgi contrib hooks
64 insinto /usr/lib/psyc/ion
65 doins -r lib/psycion/*
66 doman share/man/*/*
67 dohtml htdocs/*
68}