Browse Source

fake:

added lcdutils package for the cobalt lcd display


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2363 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
fake 21 years ago
parent
commit
fbf90ab0a7
4 changed files with 93 additions and 0 deletions
  1. +23
    -0
      package/mips/lcdutils/lcdutils.conf
  2. +41
    -0
      package/mips/lcdutils/lcdutils.desc
  3. +18
    -0
      package/mips/lcdutils/makefile-useprefix.patch
  4. +11
    -0
      package/mips/lcdutils/use-devfs-lcddev.patch

+ 23
- 0
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"

+ 41
- 0
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 <pm@debian.org>
[M] fake <fake@rocklinux.org>
[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/

+ 18
- 0
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

+ 11
- 0
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)

Loading…
Cancel
Save