source: custom/examples/963-gpm@ 8f2c086

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

Add a few more examples for custom builds

  • Property mode set to 100644
File size: 861 bytes
Line 
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"
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.