source: custom/examples/963-gpm@ 6c9002b

new_features
Last change on this file since 6c9002b was 99ba6d8, checked in by Pierre Labastie <pierre@…>, 9 years ago

Merge trunk up to r3857

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[781acdc]1#
2# $Id$
3#
4PKG="gpm"
[99ba6d8]5PKG_VERSION="1.20.7"
[781acdc]6PKG_FILE="gpm-${PKG_VERSION}.tar.bz2"
[99ba6d8]7URL="http://www.nico.schottelius.org/software/gpm/archives/${PKG_FILE}"
8MD5="bf84143905a6a903dbd4d4b911a2a2b8"
[dcf0e25]9for i in PATCH{1..10}; do
10 unset $i
11done
[781acdc]12
13( cat << "xEOFx"
14
[99ba6d8]15./autogen.sh &&
[781acdc]16./configure --prefix=/usr --sysconfdir=/etc &&
[99ba6d8]17make
18
19make install &&
20
21install-info --dir-file=/usr/share/info/dir \
22 /usr/share/info/gpm.info &&
23
24ln -sfv libgpm.so.2.1.0 /usr/lib/libgpm.so &&
25install -v -m644 conf/gpm-root.conf /etc &&
[781acdc]26
[99ba6d8]27install -v -m755 -d /usr/share/doc/gpm-${PKG_FILE}/support &&
28install -v -m644 doc/support/* \
29 /usr/share/doc/gpm-${PKG_FILE}/support &&
30install -v -m644 doc/{FAQ,HACK_GPM,README*} \
31 /usr/share/doc/gpm-${PKG_FILE}
[781acdc]32
33# The normal cmd to install the boot script for gpm
34# --- PUT THIS CMD INSIDE 999-blfs_bootscripts
35#make install-gpm
36
37cat > /etc/sysconfig/mouse << "EOF"
38# Begin /etc/sysconfig/mouse
39
[99ba6d8]40MDEVICE="/dev/input/mice"
[781acdc]41PROTOCOL="imps2"
42GPMOPTS=""
43
44# End /etc/sysconfig/mouse
45EOF
46
47xEOFx
48) > tmp
49
Note: See TracBrowser for help on using the repository browser.