source:
custom/examples/963-gpm@
2b67b9b
Last change on this file since 2b67b9b was 9543675, checked in by , 9 years ago | |
---|---|
|
|
File size: 1.2 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" |
[9543675] | 7 | URL="http://www.nico.schottelius.org/software/gpm/archives/${PKG_FILE}" |
8 | MD5="bf84143905a6a903dbd4d4b911a2a2b8" | |
[dcf0e25] | 9 | for i in PATCH{1..10}; do |
10 | unset $i | |
11 | done | |
[781acdc] | 12 | |
13 | ( cat << "xEOFx" | |
14 | ||
[9543675] | 15 | ./autogen.sh && |
[781acdc] | 16 | ./configure --prefix=/usr --sysconfdir=/etc && |
[9543675] | 17 | make |
18 | ||
19 | make install && | |
20 | ||
21 | install-info --dir-file=/usr/share/info/dir \ | |
22 | /usr/share/info/gpm.info && | |
23 | ||
24 | ln -sfv libgpm.so.2.1.0 /usr/lib/libgpm.so && | |
25 | install -v -m644 conf/gpm-root.conf /etc && | |
[781acdc] | 26 | |
[9543675] | 27 | install -v -m755 -d /usr/share/doc/gpm-${PKG_FILE}/support && |
28 | install -v -m644 doc/support/* \ | |
29 | /usr/share/doc/gpm-${PKG_FILE}/support && | |
30 | install -v -m644 doc/{FAQ,HACK_GPM,README*} \ | |
31 | /usr/share/doc/gpm-${PKG_FILE} | |
[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.