CRUX PPC
A lightweight GNU/Linux distribution for PowerPC!
Subversion Repository
Parent Directory
|
Revision Log
Revision 83 -
(hide annotations)
Sun Oct 4 14:32:08 2009 UTC (3 years, 7 months ago) by cjg
File size: 627 byte(s)
Sun Oct 4 14:32:08 2009 UTC (3 years, 7 months ago) by cjg
File size: 627 byte(s)
mouseemu: added
| 1 | cjg | 83 | # Description: A daemon to emulate mouse buttons on trackpads |
| 2 | # URL: http://packages.debian.org/sid/mouseemu | ||
| 3 | # Maintainer: Giuseppe Coviello <cjg@cruxppc.org> | ||
| 4 | # Packager: Giuseppe Coviello <cjg@cruxppc.org> | ||
| 5 | # Depends on: | ||
| 6 | |||
| 7 | name=mouseemu | ||
| 8 | version=0.15 | ||
| 9 | release=1 | ||
| 10 | source=(http://ftp.de.debian.org/debian/pool/main/m/mouseemu/mouseemu_${version}.orig.tar.gz \ | ||
| 11 | $name-$version.patch \ | ||
| 12 | mouseemud) | ||
| 13 | |||
| 14 | build() { | ||
| 15 | cd $name | ||
| 16 | patch -p1 < $SRC/$name-$version.patch | ||
| 17 | make | ||
| 18 | mkdir -p $PKG/{/usr/{sbin,man/man8},etc/rc.d} | ||
| 19 | cp $name $PKG/usr/sbin | ||
| 20 | cp $name.8 $PKG/usr/man/man8 | ||
| 21 | cp $SRC/mouseemud $PKG/etc/rc.d | ||
| 22 | chmod +x $PKG/etc/rc.d/mouseemud | ||
| 23 | } |