1 |
commit: 567e523e31840d941d2319e5cb25ae6cdc879fcb |
2 |
Author: Austin English <wizardedit <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 25 19:19:55 2016 +0000 |
4 |
Commit: Austin English <wizardedit <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 25 19:19:55 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=567e523e |
7 |
|
8 |
app-admin/gkrellm: remove gkrellm-2.3.5-r3 |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-admin/gkrellm/gkrellm-2.3.5-r3.ebuild | 129 ------------------------------ |
13 |
1 file changed, 129 deletions(-) |
14 |
|
15 |
diff --git a/app-admin/gkrellm/gkrellm-2.3.5-r3.ebuild b/app-admin/gkrellm/gkrellm-2.3.5-r3.ebuild |
16 |
deleted file mode 100644 |
17 |
index 7da7c73..0000000 |
18 |
--- a/app-admin/gkrellm/gkrellm-2.3.5-r3.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,129 +0,0 @@ |
21 |
-# Copyright 1999-2015 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
- |
25 |
-EAPI=5 |
26 |
- |
27 |
-inherit eutils multilib user systemd toolchain-funcs |
28 |
- |
29 |
-DESCRIPTION="Single process stack of various system monitors" |
30 |
-HOMEPAGE="http://www.gkrellm.net/" |
31 |
-SRC_URI="http://members.dslextreme.com/users/billw/${PN}/${P}.tar.bz2" |
32 |
- |
33 |
-LICENSE="GPL-3" |
34 |
-SLOT="2" |
35 |
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux" |
36 |
-IUSE="gnutls hddtemp lm_sensors nls ntlm ssl kernel_FreeBSD X" |
37 |
- |
38 |
-RDEPEND=" |
39 |
- dev-libs/glib:2 |
40 |
- hddtemp? ( app-admin/hddtemp ) |
41 |
- gnutls? ( net-libs/gnutls ) |
42 |
- !gnutls? ( ssl? ( dev-libs/openssl:0= ) ) |
43 |
- lm_sensors? ( sys-apps/lm_sensors ) |
44 |
- nls? ( virtual/libintl ) |
45 |
- ntlm? ( net-libs/libntlm ) |
46 |
- X? ( |
47 |
- x11-libs/gtk+:2 |
48 |
- x11-libs/pango |
49 |
- )" |
50 |
-DEPEND="${RDEPEND} |
51 |
- virtual/pkgconfig |
52 |
- nls? ( sys-devel/gettext )" |
53 |
- |
54 |
-pkg_setup() { |
55 |
- enewgroup gkrellmd |
56 |
- enewuser gkrellmd -1 -1 -1 gkrellmd |
57 |
- TARGET= |
58 |
- use kernel_FreeBSD && TARGET="freebsd" |
59 |
-} |
60 |
- |
61 |
-src_prepare() { |
62 |
- sed -e 's:-O2 ::' \ |
63 |
- -e 's:override CC:CFLAGS:' \ |
64 |
- -e 's:-L/usr/X11R6/lib::' \ |
65 |
- -i */Makefile || die "sed Makefile(s) failed" |
66 |
- |
67 |
- sed -e "s:/usr/lib:${EPREFIX}/usr/$(get_libdir):" \ |
68 |
- -e "s:/usr/local/lib:${EPREFIX}/usr/local/$(get_libdir):" \ |
69 |
- -i src/${PN}.h || die "sed ${PN}.h failed" |
70 |
- |
71 |
- epatch \ |
72 |
- "${FILESDIR}"/${P}-autofs.patch \ |
73 |
- "${FILESDIR}"/${P}-cifs.patch \ |
74 |
- "${FILESDIR}"/${P}-dso.patch \ |
75 |
- "${FILESDIR}"/${P}-format-security.patch \ |
76 |
- "${FILESDIR}"/${P}-config.patch \ |
77 |
- "${FILESDIR}"/${P}-width.patch \ |
78 |
- "${FILESDIR}"/${P}-binding.patch \ |
79 |
- "${FILESDIR}"/${P}-sansfont.patch |
80 |
-} |
81 |
- |
82 |
-src_compile() { |
83 |
- if use X ; then |
84 |
- local sslopt="" |
85 |
- if use gnutls; then |
86 |
- sslopt="without-ssl=yes" |
87 |
- elif use ssl; then |
88 |
- sslopt="without-gnutls=yes" |
89 |
- else |
90 |
- sslopt="without-ssl=yes without-gnutls=yes" |
91 |
- fi |
92 |
- |
93 |
- emake \ |
94 |
- ${TARGET} \ |
95 |
- CC="$(tc-getCC)" \ |
96 |
- STRIP="" \ |
97 |
- INSTALLROOT="${EPREFIX}/usr" \ |
98 |
- INCLUDEDIR="${EPREFIX}/usr/include/gkrellm2" \ |
99 |
- LOCALEDIR="${EPREFIX}/usr/share/locale" \ |
100 |
- $(usex nls "" "enable_nls=0") \ |
101 |
- $(usex lm_sensors "" "without-libsensors=yes") \ |
102 |
- $(usex ntlm "" "without-ntlm=yes") \ |
103 |
- ${sslopt} |
104 |
- else |
105 |
- cd server || die |
106 |
- emake \ |
107 |
- ${TARGET} \ |
108 |
- CC="$(tc-getCC)" \ |
109 |
- LINK_FLAGS="$LDFLAGS -Wl,-E" \ |
110 |
- STRIP="" \ |
111 |
- $(usex nls "" "enable_nls=0") \ |
112 |
- $(usex lm_sensors "" "without-libsensors=yes") |
113 |
- fi |
114 |
-} |
115 |
- |
116 |
-src_install() { |
117 |
- if use X ; then |
118 |
- emake \ |
119 |
- install${TARGET:+_}${TARGET} \ |
120 |
- $(usex nls "" "enable_nls=0") \ |
121 |
- STRIP="" \ |
122 |
- INSTALLDIR="${ED}/usr/bin" \ |
123 |
- INCLUDEDIR="${ED}/usr/include" \ |
124 |
- LOCALEDIR="${ED}/usr/share/locale" \ |
125 |
- PKGCONFIGDIR="${ED}/usr/$(get_libdir)/pkgconfig" \ |
126 |
- MANDIR="${ED}/usr/share/man/man1" |
127 |
- |
128 |
- dohtml *.html |
129 |
- |
130 |
- newicon src/icon.xpm ${PN}.xpm |
131 |
- make_desktop_entry ${PN} GKrellM ${PN} |
132 |
- else |
133 |
- dobin server/gkrellmd |
134 |
- |
135 |
- insinto /usr/include/gkrellm2 |
136 |
- doins server/gkrellmd.h |
137 |
- doins shared/log.h |
138 |
- fi |
139 |
- |
140 |
- doinitd "${FILESDIR}"/gkrellmd |
141 |
- newconfd "${FILESDIR}"/gkrellmd.conf gkrellmd |
142 |
- |
143 |
- systemd_dounit "${FILESDIR}"/gkrellmd.service |
144 |
- |
145 |
- insinto /etc |
146 |
- doins server/gkrellmd.conf |
147 |
- |
148 |
- dodoc Changelog CREDITS README |
149 |
-} |