source: custom/examples/963-gpm@ 59a1e1a

ablfs-more legacy trunk
Last change on this file since 59a1e1a 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
RevLine 
[781acdc]1#
2# $Id$
3#
4PKG="gpm"
[9543675]5PKG_VERSION="1.20.7"
[781acdc]6PKG_FILE="gpm-${PKG_VERSION}.tar.bz2"
[2257bd7]7URL="https://anduin.linuxfromscratch.org/BLFS/gpm/${PKG_FILE}"
[9543675]8MD5="bf84143905a6a903dbd4d4b911a2a2b8"
[dcf0e25]9for i in PATCH{1..10}; do
10 unset $i
11done
[2257bd7]12PATCH1="https://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.7-consolidated-1.patch"
[781acdc]13
14( cat << "xEOFx"
15
[2257bd7]16patch -Np1 -i ../gpm-1.20.7-consolidated-1.patch &&
17./autogen.sh &&
18./configure --prefix=/usr --sysconfdir=/etc &&
[9543675]19make
20
21make install &&
22
23install-info --dir-file=/usr/share/info/dir \
24 /usr/share/info/gpm.info &&
25
[2257bd7]26rm -fv /usr/lib/libgpm.a &&
[9543675]27ln -sfv libgpm.so.2.1.0 /usr/lib/libgpm.so &&
28install -v -m644 conf/gpm-root.conf /etc &&
[781acdc]29
[2257bd7]30install -v -m755 -d /usr/share/doc/gpm-1.20.7/support &&
[9543675]31install -v -m644 doc/support/* \
[2257bd7]32 /usr/share/doc/gpm-1.20.7/support &&
[9543675]33install -v -m644 doc/{FAQ,HACK_GPM,README*} \
[2257bd7]34 /usr/share/doc/gpm-1.20.7
[781acdc]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
[9543675]43MDEVICE="/dev/input/mice"
[781acdc]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.