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