source: custom/examples/953-gpm@ 6dc325f

experimental
Last change on this file since 6dc325f was 42e1b38, checked in by George Boudreau <georgeb@…>, 18 years ago

Add code for user defined scripts. User scripts added at the end of the final build (LFS only)

  • 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.