diff options
author | cube <cube@pkgsrc.org> | 2004-02-24 23:28:35 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-02-24 23:28:35 +0000 |
commit | af4292a9260521337d14aafb29ecf19159615287 (patch) | |
tree | 1ef2bb120422d3fcf266e0c6f73440ad5079cd7e /net/gkrellm1-wireless | |
parent | 2c3e13fbac335dfa5967dd20726d882e131c81af (diff) | |
download | pkgsrc-af4292a9260521337d14aafb29ecf19159615287.tar.gz |
Re-import og net/gkrellm-wireless as net/gkrellm1-wireless to leave space
for the GKrellM-2 port of the wireless plugin.
Diffstat (limited to 'net/gkrellm1-wireless')
-rw-r--r-- | net/gkrellm1-wireless/DESCR | 4 | ||||
-rw-r--r-- | net/gkrellm1-wireless/Makefile | 25 | ||||
-rw-r--r-- | net/gkrellm1-wireless/PLIST | 2 | ||||
-rw-r--r-- | net/gkrellm1-wireless/distinfo | 6 | ||||
-rw-r--r-- | net/gkrellm1-wireless/patches/patch-aa | 35 | ||||
-rw-r--r-- | net/gkrellm1-wireless/patches/patch-ab | 17 |
6 files changed, 89 insertions, 0 deletions
diff --git a/net/gkrellm1-wireless/DESCR b/net/gkrellm1-wireless/DESCR new file mode 100644 index 00000000000..728f8c57d97 --- /dev/null +++ b/net/gkrellm1-wireless/DESCR @@ -0,0 +1,4 @@ +gkrellmwireless is a plugin for gkrellm that shows the signal +strength/quality/noise of a wireless ethernet card. + +Currently only wi(4) (Lucent ORiNOCO and derivatives) interfaces are supported. diff --git a/net/gkrellm1-wireless/Makefile b/net/gkrellm1-wireless/Makefile new file mode 100644 index 00000000000..35de571fcf1 --- /dev/null +++ b/net/gkrellm1-wireless/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $ + +DISTNAME= gkrellmwireless-0.2.2 +PKGNAME= gkrellm-wireless-0.2.2 +PKGREVISION= 4 +CATEGORIES= net sysutils +MASTER_SITES= http://gkrellm.luon.net/files/ + +MAINTAINER= jasper@pointless.net +HOMEPAGE= http://gkrellm.luon.net/gkrellmwireless.phtml +COMMENT= Wavelan signal strength monitor for gkrellm + +ONLY_FOR_PLATFORM= *BSD-*-* Linux-*-* + +USE_BUILDLINK2= # defined +USE_GNU_TOOLS+= make + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/lib/gkrellm/plugins + ${INSTALL_PROGRAM} ${WRKSRC}/wireless.so ${PREFIX}/lib/gkrellm/plugins/ + +.include "../../graphics/imlib/buildlink2.mk" +.include "../../sysutils/gkrellm/buildlink2.mk" +.include "../../x11/gtk/buildlink2.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/net/gkrellm1-wireless/PLIST b/net/gkrellm1-wireless/PLIST new file mode 100644 index 00000000000..cbdda0a6cf6 --- /dev/null +++ b/net/gkrellm1-wireless/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $ +lib/gkrellm/plugins/wireless.so diff --git a/net/gkrellm1-wireless/distinfo b/net/gkrellm1-wireless/distinfo new file mode 100644 index 00000000000..ac9a122e260 --- /dev/null +++ b/net/gkrellm1-wireless/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $ + +SHA1 (gkrellmwireless-0.2.2.tar.gz) = 184d1aa034e4cf4a76d279d8bf0dcc278b134252 +Size (gkrellmwireless-0.2.2.tar.gz) = 7971 bytes +SHA1 (patch-aa) = df80eba1947398684988f199c462185b1ab02c0d +SHA1 (patch-ab) = 79aa9a9648e9bd450662a88521cc7e75f38ffd3e diff --git a/net/gkrellm1-wireless/patches/patch-aa b/net/gkrellm1-wireless/patches/patch-aa new file mode 100644 index 00000000000..ccf6abb0d9d --- /dev/null +++ b/net/gkrellm1-wireless/patches/patch-aa @@ -0,0 +1,35 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $ + +--- Makefile.orig Sun Sep 9 10:12:41 2001 ++++ Makefile +@@ -12,6 +12,9 @@ + GTK_CONFIG = gtk-config + endif + ++ifeq ($(OS),NetBSD) ++ GTK_CONFIG = gtk-config ++endif + + GTK_INCLUDE = `$(GTK_CONFIG) --cflags gthread` + GTK_LIB = `$(GTK_CONFIG) --libs gthread` +@@ -20,17 +23,17 @@ + IMLIB_LIB = `imlib-config --libs-gdk` + + +-FLAGS = -g -O2 -Wall -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE) ++CFLAGS += -fPIC $(GTK_INCLUDE) $(IMLIB_INCLUDE) $(INCLUDE) -I${PREFIX}/include + LIBS = $(GTK_LIB) $(IMLIB_LIB) + LFLAGS = -shared + +-CC = gcc $(CFLAGS) $(FLAGS) ++CC = gcc $(CFLAGS) + + OBJS = wireless.o + + INSTALL = install -c -s + INSTALL_PERMS = -m 755 +-PLUGIN_DIR = /usr/lib/gkrellm/plugins ++PLUGIN_DIR = ${PREFIX}/lib/gkrellm/plugins + + + all: wireless.so diff --git a/net/gkrellm1-wireless/patches/patch-ab b/net/gkrellm1-wireless/patches/patch-ab new file mode 100644 index 00000000000..fd09bd1c6b9 --- /dev/null +++ b/net/gkrellm1-wireless/patches/patch-ab @@ -0,0 +1,17 @@ +$NetBSD: patch-ab,v 1.1.1.1 2004/02/24 23:28:35 cube Exp $ + +--- wireless.h.orig Sun Sep 9 09:25:55 2001 ++++ wireless.h +@@ -32,7 +32,11 @@ + #include <net/if_ether.h> + #include <net/if_media.h> + #include <net/if_ieee80211.h> +- #include <dev/pcmcia/if_wi_ieee.h> ++# if __NetBSD_Version__ > 105210000 ++ #include <dev/ic/wi_ieee.h> ++# else ++ #include <dev/pcmcia/if_wi_ieee.h> ++# endif + #endif + + #define PLUGIN_CONFIG_KEYWORD "gkrellmwireless" |