Commit | Line | Data |
---|---|---|
00746d7f JB |
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 | |
bb5e8a63 | 8 | release=2 |
00746d7f JB |
9 | source=(http://download.berlios.de/$name/$name-$version.tar.bz2) |
10 | ||
11 | build () { | |
12 | cd $name-$version | |
13 | ||
14 | ./autogen.sh | |
bb5e8a63 JB |
15 | sed 's|LIBFLAGS="|LIBFLAGS="-DUSE_INPUT_API |' -i configure |
16 | ||
00746d7f JB |
17 | ./configure --build=$CHOST \ |
18 | --host=$CTARGET \ | |
19 | --prefix=/usr \ | |
20 | --sysconfdir=/etc | |
21 | ||
22 | sed '/^#define malloc rpl_malloc/d' -i config.h | |
23 | ||
24 | make | |
25 | make DESTDIR=$PKG install | |
26 | } |