source: custom/examples/953-gpm@ 245d1c9

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since 245d1c9 was 9a536f7, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Merged cunstomization code from experimental branch.
Let trunk to be broken for a while...

  • Property mode set to 100644
File size: 842 bytes
Line 
1PKG="gpm"
2PKG_VERSION="1.20.1"
3PKG_FILE="gpm-1.20.1.tar.bz2"
4URL="ftp://arcana.linux.it/pub/gpm/${PKG_FILE}"
5MD5="2c63e827d755527950d9d13fe3d87692"
6
7PATCH1=" http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-segfault-1.patch"
8PATCH2=" http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-silent-1.patch"
9
10
11( cat << "xEOFx"
12
13patch -Np1 -i ../gpm-1.20.1-segfault-1.patch &&
14patch -Np1 -i ../gpm-1.20.1-silent-1.patch &&
15./configure --prefix=/usr --sysconfdir=/etc &&
16LDFLAGS="-lm" make
17
18make install &&
19cp -v conf/gpm-root.conf /etc &&
20ldconfig
21
22# The normal cmd to install the boot script for gpm
23# --- PUT THIS CMD INSIDE 999-blfs_bootscripts
24#make install-gpm
25
26cat > /etc/sysconfig/mouse << "EOF"
27# Begin /etc/sysconfig/mouse
28
29MDEVICE="/dev/psaux"
30PROTOCOL="imps2"
31GPMOPTS=""
32
33# End /etc/sysconfig/mouse
34EOF
35
36xEOFx
37) > tmp
38
Note: See TracBrowser for help on using the repository browser.