2.3
2.3.x
2.4
ablfs
ablfs-more
legacy
new_features
trunk
Last change
on this file since 962793a 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
|
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 | for i in PATCH{1..10}; do
|
---|
10 | unset $i
|
---|
11 | done
|
---|
12 | PATCH1=" http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-segfault-1.patch"
|
---|
13 | PATCH2=" http://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.1-silent-1.patch"
|
---|
14 |
|
---|
15 |
|
---|
16 | ( cat << "xEOFx"
|
---|
17 |
|
---|
18 | patch -Np1 -i ../gpm-1.20.1-segfault-1.patch &&
|
---|
19 | patch -Np1 -i ../gpm-1.20.1-silent-1.patch &&
|
---|
20 | ./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
21 | LDFLAGS="-lm" make
|
---|
22 |
|
---|
23 | make install &&
|
---|
24 | cp -v conf/gpm-root.conf /etc &&
|
---|
25 | ldconfig
|
---|
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 |
|
---|
31 | cat > /etc/sysconfig/mouse << "EOF"
|
---|
32 | # Begin /etc/sysconfig/mouse
|
---|
33 |
|
---|
34 | MDEVICE="/dev/psaux"
|
---|
35 | PROTOCOL="imps2"
|
---|
36 | GPMOPTS=""
|
---|
37 |
|
---|
38 | # End /etc/sysconfig/mouse
|
---|
39 | EOF
|
---|
40 |
|
---|
41 | xEOFx
|
---|
42 | ) > tmp
|
---|
43 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.