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