[Lunar-commits] <moonbase-other> gkrellm2: build gui optionally
v4hn
me at v4hn.de
Sat Jun 15 18:55:17 CEST 2013
commit 206af585f2f04aba1935a5f81fe3cbb0d2f91c07
Author: v4hn <me at v4hn.de>
Date: Sat, 15 Jun 2013 09:54:23 -0700
URL: https://github.com/lunar-linux/moonbase-other/commit/206af585f2f04aba1935a5f81fe3cbb0d2f91c07
gkrellm2: build gui optionally
This way we don't need two different modules for that.
Earlier there was another "gkrellmd2" module.
---
x11-utils/gkrellm/gkrellm2/BUILD | +4/-0
x11-utils/gkrellm/gkrellm2/DEPENDS | +2/-1
2 files changed, 6 insertions(+), 1 deletion(-)
--- a/x11-utils/gkrellm/gkrellm2/BUILD
+++ b/x11-utils/gkrellm/gkrellm2/BUILD
@@ -1,3 +1,7 @@
+if ! in_depends $MODULE gtk+-2; then
+ cd server
+fi &&
+
make &&
prepare_install &&
make INSTALLDIR=/usr/bin \
--- a/x11-utils/gkrellm/gkrellm2/DEPENDS
+++ b/x11-utils/gkrellm/gkrellm2/DEPENDS
@@ -1 +1,2 @@
-depends gtk+-2
+depends glib-2
+optional_depends gtk+-2 "" " " "build GUI"
More information about the Lunar-commits
mailing list