diff --git a/package/mips/lcdutils/lcdutils.conf b/package/mips/lcdutils/lcdutils.conf new file mode 100644 index 000000000..31c64235b --- /dev/null +++ b/package/mips/lcdutils/lcdutils.conf @@ -0,0 +1,23 @@ +# --- ROCK-COPYRIGHT-NOTE-BEGIN --- +# +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# Please add additional copyright information _after_ the line containing +# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +# the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +# +# ROCK Linux: rock-src/package/mips/lcdutils/lcdutils.conf +# ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. A copy of the GNU General Public +# License can be found at Documentation/COPYING. +# +# Many people helped and are helping developing ROCK Linux. Please +# have a look at http://www.rocklinux.org/ and the Documentation/TEAM +# file for details. +# +# --- ROCK-COPYRIGHT-NOTE-END --- + +var_insert makeinstopt ' ' "PREFIX=$root/usr" diff --git a/package/mips/lcdutils/lcdutils.desc b/package/mips/lcdutils/lcdutils.desc new file mode 100644 index 000000000..1c9905d28 --- /dev/null +++ b/package/mips/lcdutils/lcdutils.desc @@ -0,0 +1,41 @@ +[COPY] --- ROCK-COPYRIGHT-NOTE-BEGIN --- +[COPY] +[COPY] This copyright note is auto-generated by ./scripts/Create-CopyPatch. +[COPY] Please add additional copyright information _after_ the line containing +[COPY] the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by +[COPY] the ./scripts/Create-CopyPatch script. Do not edit this copyright text! +[COPY] +[COPY] ROCK Linux: rock-src/package/mips/lcdutils/lcdutils.desc +[COPY] ROCK Linux is Copyright (C) 1998 - 2003 Clifford Wolf +[COPY] +[COPY] This program is free software; you can redistribute it and/or modify +[COPY] it under the terms of the GNU General Public License as published by +[COPY] the Free Software Foundation; either version 2 of the License, or +[COPY] (at your option) any later version. A copy of the GNU General Public +[COPY] License can be found at Documentation/COPYING. +[COPY] +[COPY] Many people helped and are helping developing ROCK Linux. Please +[COPY] have a look at http://www.rocklinux.org/ and the Documentation/TEAM +[COPY] file for details. +[COPY] +[COPY] --- ROCK-COPYRIGHT-NOTE-END --- + +[I] small utilities to play with cobalts front panel buttons and lcd + +[T] this package includes two utilites, one to control the buttons, and one +[T] to play with the lcd display on the front panel of cobalt machines like +[T] the raq or qube. + +[A] Paul Martin +[M] fake + +[C] base/tool +[R] + mips + +[L] GPL +[S] Stable +[V] 0.2 +[P] X -----5---9 612.000 + +[D] 738589617 lcdutils-0.2.tar.gz http://people.debian.org/~pm/mips-cobalt/ + diff --git a/package/mips/lcdutils/makefile-useprefix.patch b/package/mips/lcdutils/makefile-useprefix.patch new file mode 100644 index 000000000..7eb6076c5 --- /dev/null +++ b/package/mips/lcdutils/makefile-useprefix.patch @@ -0,0 +1,18 @@ +--- ./Makefile.orig 2004-01-30 19:04:40.000000000 +0100 ++++ ./Makefile 2004-01-30 19:04:17.000000000 +0100 +@@ -2,12 +2,13 @@ + #LDFLAGS=-static + + CFLAGS=-O2 -Wall ++PREFIX=/usr/local + + all: putlcd buttond + + install: all +- install putlcd /usr/local/sbin +- install buttond /usr/local/sbin ++ install putlcd ${PREFIX}/sbin ++ install buttond ${PREFIX}/sbin + + clean: + rm -f putlcd buttond *.o diff --git a/package/mips/lcdutils/use-devfs-lcddev.patch b/package/mips/lcdutils/use-devfs-lcddev.patch new file mode 100644 index 000000000..09abf3c6b --- /dev/null +++ b/package/mips/lcdutils/use-devfs-lcddev.patch @@ -0,0 +1,11 @@ +--- ./liblcd.c.orig 2002-07-08 15:39:10.000000000 +0200 ++++ ./liblcd.c 2004-01-30 19:02:16.000000000 +0100 +@@ -32,7 +32,7 @@ + #define DEBOUNCE_SELECT 150 + #define DEBOUNCE_OTHER 5 + +-#define LCDDEV "/dev/lcd" ++#define LCDDEV "/dev/misc/lcd" + + void lcd_op(const int operation, + struct lcd_display *disp, const char *error)