CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
pango: updated to 1.24.5 and fixed issues with autofolks stuff. Also updated the...
[attic/ports/opt-cross.git] / tslib / Pkgfile
... / ...
CommitLineData
1# Description: Tslib is an abstraction layer for touchscreen panel events
2# URL: http://tslib.berlios.de/
3# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
4# Depends on:
5
6name=tslib
7version=1.0
8release=2
9source=(http://download.berlios.de/$name/$name-$version.tar.bz2)
10
11build () {
12 cd $name-$version
13
14 ./autogen.sh
15 sed 's|LIBFLAGS="|LIBFLAGS="-DUSE_INPUT_API |' -i configure
16
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}