source: custom/examples/963-gpm@ b7ea8ff

2.3 2.3.x 2.4 ablfs ablfs-more legacy new_features trunk
Last change on this file since b7ea8ff was dcf0e25, checked in by George Boudreau <georgeb@…>, 18 years ago

bug hunt in custom package examples

  • Property mode set to 100644
File size: 903 bytes
RevLine 
[781acdc]1#
2# $Id$
3#
4PKG="gpm"
5PKG_VERSION="1.20.1"
6PKG_FILE="gpm-${PKG_VERSION}.tar.bz2"
7URL="ftp://arcana.linux.it/pub/gpm/${PKG_FILE}"
8MD5="2c63e827d755527950d9d13fe3d87692"
[dcf0e25]9for i in PATCH{1..10}; do
10 unset $i
11done
[781acdc]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.