source: custom/examples/953-gpm@ 53f291f

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

Added missing Id tags.

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