| 1 | # Description: Tslib is an abstraction layer for touchscreen panel events |
| 2 | # URL: http://tslib.berlios.de/ |
| 3 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org |
| 4 | # Depends on: |
| 5 | |
| 6 | name=tslib |
| 7 | version=1.0 |
| 8 | release=1 |
| 9 | source=(http://download.berlios.de/$name/$name-$version.tar.bz2) |
| 10 | |
| 11 | build () { |
| 12 | cd $name-$version |
| 13 | |
| 14 | ./autogen.sh |
| 15 | ./configure --build=$CHOST \ |
| 16 | --host=$CTARGET \ |
| 17 | --prefix=/usr \ |
| 18 | --sysconfdir=/etc |
| 19 | |
| 20 | sed '/^#define malloc rpl_malloc/d' -i config.h |
| 21 | |
| 22 | make |
| 23 | make DESTDIR=$PKG install |
| 24 | } |