source: custom/examples/963-gpm@ 2718053

ablfs-more legacy trunk
Last change on this file since 2718053 was 2257bd7, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Update and fix documentation of custom tools

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