1 |
commit: 60099bc6725b60e2b45cbdf25f9db2c214b245e3 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed May 2 19:27:14 2018 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed May 2 19:28:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60099bc6 |
7 |
|
8 |
games-util/uglygs: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.31, Repoman-2.3.9 |
11 |
|
12 |
games-util/uglygs/uglygs-0_rc11.ebuild | 62 ---------------------------------- |
13 |
1 file changed, 62 deletions(-) |
14 |
|
15 |
diff --git a/games-util/uglygs/uglygs-0_rc11.ebuild b/games-util/uglygs/uglygs-0_rc11.ebuild |
16 |
deleted file mode 100644 |
17 |
index 8ce6738b693..00000000000 |
18 |
--- a/games-util/uglygs/uglygs-0_rc11.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,62 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=5 |
25 |
-inherit eutils games |
26 |
- |
27 |
-MY_P=${P/0_/} |
28 |
-DESCRIPTION="quickly searches the network for game servers" |
29 |
-HOMEPAGE="http://uglygs.uglypunk.com/" |
30 |
-SRC_URI="ftp://ftp.uglypunk.com/uglygs/current/${MY_P}.tar.gz" |
31 |
- |
32 |
-LICENSE="GPL-2" |
33 |
-SLOT="0" |
34 |
-KEYWORDS="~alpha ~hppa ~x86" |
35 |
-IUSE="" |
36 |
- |
37 |
-DEPEND="net-analyzer/rrdtool[graph] |
38 |
- dev-lang/perl" |
39 |
-RDEPEND=${DEPEND} |
40 |
- |
41 |
-S=${WORKDIR}/${MY_P} |
42 |
- |
43 |
-src_prepare() { |
44 |
- epatch "${FILESDIR}"/${PV}-uglygs.conf.patch |
45 |
- sed -i \ |
46 |
- -e "s:GENTOO_DIR:$(games_get_libdir)/${PN}:" uglygs.conf || die |
47 |
- epatch "${FILESDIR}"/${PV}-uglygs.pl.patch |
48 |
- sed -i \ |
49 |
- -e "s:GENTOO_DIR:${GAMES_SYSCONFDIR}:" uglygs.pl || die |
50 |
- sed -i \ |
51 |
- -e "s/strndup/${PN}_strndup/" qstat/qstat.c || die |
52 |
-} |
53 |
- |
54 |
-src_compile() { |
55 |
- emake -C qstat CFLAGS="${CFLAGS}" |
56 |
-} |
57 |
- |
58 |
-src_install() { |
59 |
- insinto "${GAMES_SYSCONFDIR}" |
60 |
- doins uglygs.conf qstat/qstat.cfg |
61 |
- |
62 |
- dogamesbin uglygs.pl |
63 |
- |
64 |
- insinto "$(games_get_libdir)"/${PN} |
65 |
- doins -r data templates tmp |
66 |
- insinto "$(games_get_libdir)"/${PN}/images |
67 |
- doins -r images/{avp2,bds,default.gif,hls,j2s,mhs,q3s,rws,sf2s,uns,vcs} |
68 |
- dosym bds "$(games_get_libdir)"/${PN}/images/bdl |
69 |
- keepdir "$(games_get_libdir)"/${PN}/tmp |
70 |
- |
71 |
- exeinto "$(games_get_libdir)"/${PN} |
72 |
- doexe qstat/qstat |
73 |
- |
74 |
- dodoc CHANGES README |
75 |
- |
76 |
- prepgamesdirs |
77 |
-} |
78 |
- |
79 |
-pkg_postinst() { |
80 |
- games_pkg_postinst |
81 |
- elog "Dont forget to setup ${GAMES_SYSCONFDIR}/uglygs.conf and ${GAMES_SYSCONFDIR}/qstat.cfg" |
82 |
-} |