CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: initial import (verified compilation)
[attic/ports/opt-cross.git] / tslib / Pkgfile
CommitLineData
00746d7f
JB
1# Description: Tslib is an abstraction layer for touchscreen panel events
2# URL: http://tslib.berlios.de/
38b50d66 3# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
00746d7f
JB
4# Depends on:
5
6name=tslib
7version=1.0
bb5e8a63 8release=2
00746d7f
JB
9source=(http://download.berlios.de/$name/$name-$version.tar.bz2)
10
11build () {
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}