source: custom/examples/963-gpm@ 111d25a

experimental
Last change on this file since 111d25a was 9c9775f, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago

Updated experimental branch to current trunk code.

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