Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37908178
en ru br
ALT Linux repositórios
S:2.0.0-alt2.qa1
5.0: 2.0.0-alt2
4.1: 2.0.0-alt2
4.0: 2.0.0-alt2
3.0: 2.0.0-alt2

Group :: Monitoramento
RPM: gkrellm-reminder

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: gkrellm-reminder-2.0.0-alt-install.patch
Download


diff -Naur gkrellm-reminder-2.0.0/Makefile gkrellm-reminder-2.0.0.new/Makefile
--- gkrellm-reminder-2.0.0/Makefile	2003-03-30 19:38:54 +0300
+++ gkrellm-reminder-2.0.0.new/Makefile	2003-03-30 19:40:09 +0300
@@ -1,6 +1,10 @@
-GTK_INCLUDE = `pkg-config gtk+-2.0 --cflags`
-GTK_LIB = `pkg-config gtk+-2.0 --libs`
+GTK_CONFIG ?=pkg-config gtk+-2.0
+PLUGIN_DIR ?=/usr/local/lib/gkrellm2/plugins
 
+GTK_INCLUDE = `$(GTK_CONFIG) --cflags`
+GTK_LIB = `$(GTK_CONFIG) --libs`
+
+INSTALL=install -c -m 755
 CFLAGS = -O2 -Wall -fPIC $(GTK_INCLUDE) -I/usr/pkg/include
 
 LIBS = $(GTK_LIB)
@@ -30,15 +34,8 @@
 
 install:
 	(cd po && ${MAKE} install )
-	if [ -d /usr/lib/gkrellm2/plugins/ ] ; then \
-		install -c -s -m 644 reminder.so /usr/lib/gkrellm2/plugins/ ; \
-	elif [ -d /usr/local/lib/gkrellm2/plugins/ ] ; then \
-		install -c -s -m 644 reminder.so /usr/local/lib/gkrellm2/plugins/ ; \
-	elif [ -d /usr/pkg/lib/gkrellm2/plugins/ ] ; then \
-		install -c -s -m 644 reminder.so /usr/pkg/lib/gkrellm2/plugins/ ; \
-	else \
-		install -D -c -s -m 644 reminder.so /usr/lib/gkrellm2/plugins/reminder.so ; \
-	fi
+	$(INSTALL) -d $(PLUGIN_DIR)
+	$(INSTALL) reminder.so $(PLUGIN_DIR)
 
 uninstall:
 	rm -f /usr/lib/gkrellm/plugins2/reminder.so
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009