| 1 | # Description: Multimedia keyboard driver for linux |
| 2 | # URL: http://www.burghardt.pl/2007/12/ese-key-daemon/ |
| 3 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 4 | # Depends on: |
| 5 | |
| 6 | name=esekeyd |
| 7 | version=1.2.6 |
| 8 | release=1 |
| 9 | source=(http://www.burghardt.pl/files/$name-$version.tar.gz \ |
| 10 | $name $name.conf) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | |
| 15 | sed -i src/Makefile* \ |
| 16 | -e "s|/usr/include|$CLFS/usr/include|g" |
| 17 | |
| 18 | ./configure --build=$CHOST \ |
| 19 | --host=$CTARGET \ |
| 20 | --prefix=/usr \ |
| 21 | --mandir=/usr/man |
| 22 | |
| 23 | make |
| 24 | make DESTDIR=$PKG install |
| 25 | install -D -m 0755 $SRC/$name $PKG/etc/rc.d/$name |
| 26 | install -D -m 0644 $SRC/$name.conf $PKG/etc/$name.conf |
| 27 | } |