ablfs-more
legacy
trunk
Last change
on this file since b0965fa was fd4a798, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago |
Remove $Id$ comments, they are useless with git
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Rev | Line | |
---|
[781acdc] | 1 | PKG="gpm"
|
---|
[9543675] | 2 | PKG_VERSION="1.20.7"
|
---|
[781acdc] | 3 | PKG_FILE="gpm-${PKG_VERSION}.tar.bz2"
|
---|
[2257bd7] | 4 | URL="https://anduin.linuxfromscratch.org/BLFS/gpm/${PKG_FILE}"
|
---|
[9543675] | 5 | MD5="bf84143905a6a903dbd4d4b911a2a2b8"
|
---|
[dcf0e25] | 6 | for i in PATCH{1..10}; do
|
---|
| 7 | unset $i
|
---|
| 8 | done
|
---|
[2257bd7] | 9 | PATCH1="https://www.linuxfromscratch.org/patches/blfs/svn/gpm-1.20.7-consolidated-1.patch"
|
---|
[781acdc] | 10 |
|
---|
| 11 | ( cat << "xEOFx"
|
---|
| 12 |
|
---|
[2257bd7] | 13 | patch -Np1 -i ../gpm-1.20.7-consolidated-1.patch &&
|
---|
| 14 | ./autogen.sh &&
|
---|
| 15 | ./configure --prefix=/usr --sysconfdir=/etc &&
|
---|
[9543675] | 16 | make
|
---|
| 17 |
|
---|
| 18 | make install &&
|
---|
| 19 |
|
---|
| 20 | install-info --dir-file=/usr/share/info/dir \
|
---|
| 21 | /usr/share/info/gpm.info &&
|
---|
| 22 |
|
---|
[2257bd7] | 23 | rm -fv /usr/lib/libgpm.a &&
|
---|
[9543675] | 24 | ln -sfv libgpm.so.2.1.0 /usr/lib/libgpm.so &&
|
---|
| 25 | install -v -m644 conf/gpm-root.conf /etc &&
|
---|
[781acdc] | 26 |
|
---|
[2257bd7] | 27 | install -v -m755 -d /usr/share/doc/gpm-1.20.7/support &&
|
---|
[9543675] | 28 | install -v -m644 doc/support/* \
|
---|
[2257bd7] | 29 | /usr/share/doc/gpm-1.20.7/support &&
|
---|
[9543675] | 30 | install -v -m644 doc/{FAQ,HACK_GPM,README*} \
|
---|
[2257bd7] | 31 | /usr/share/doc/gpm-1.20.7
|
---|
[781acdc] | 32 |
|
---|
| 33 | # The normal cmd to install the boot script for gpm
|
---|
| 34 | # --- PUT THIS CMD INSIDE 999-blfs_bootscripts
|
---|
| 35 | #make install-gpm
|
---|
| 36 |
|
---|
| 37 | cat > /etc/sysconfig/mouse << "EOF"
|
---|
| 38 | # Begin /etc/sysconfig/mouse
|
---|
| 39 |
|
---|
[9543675] | 40 | MDEVICE="/dev/input/mice"
|
---|
[781acdc] | 41 | PROTOCOL="imps2"
|
---|
| 42 | GPMOPTS=""
|
---|
| 43 |
|
---|
| 44 | # End /etc/sysconfig/mouse
|
---|
| 45 | EOF
|
---|
| 46 |
|
---|
| 47 | xEOFx
|
---|
| 48 | ) > tmp
|
---|
| 49 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.