2.3
2.3.x
2.4
ablfs
ablfs-more
legacy
new_features
trunk
Last change
on this file since b4cf321 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 | #
|
---|
4 | PKG="gpm"
|
---|
5 | PKG_VERSION="1.20.1"
|
---|
6 | PKG_FILE="gpm-${PKG_VERSION}.tar.bz2"
|
---|
7 | URL="ftp://arcana.linux.it/pub/gpm/${PKG_FILE}"
|
---|
8 | MD5="2c63e827d755527950d9d13fe3d87692"
|
---|
9 |
|
---|
10 | PATCH1=" http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-segfault-1.patch"
|
---|
11 | PATCH2=" http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-silent-1.patch"
|
---|
12 |
|
---|
13 |
|
---|
14 | ( cat << "xEOFx"
|
---|
15 |
|
---|
16 | patch -Np1 -i ../gpm-1.20.1-segfault-1.patch &&
|
---|
17 | patch -Np1 -i ../gpm-1.20.1-silent-1.patch &&
|
---|
18 | ./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
19 | LDFLAGS="-lm" make
|
---|
20 |
|
---|
21 | make install &&
|
---|
22 | cp -v conf/gpm-root.conf /etc &&
|
---|
23 | ldconfig
|
---|
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 |
|
---|
29 | cat > /etc/sysconfig/mouse << "EOF"
|
---|
30 | # Begin /etc/sysconfig/mouse
|
---|
31 |
|
---|
32 | MDEVICE="/dev/psaux"
|
---|
33 | PROTOCOL="imps2"
|
---|
34 | GPMOPTS=""
|
---|
35 |
|
---|
36 | # End /etc/sysconfig/mouse
|
---|
37 | EOF
|
---|
38 |
|
---|
39 | xEOFx
|
---|
40 | ) > tmp
|
---|
41 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.