CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
24f69f0d56e6270ca78b8f4ded81703ab63c9f2b
[attic/ports/opt-cross.git] / tslib / Pkgfile
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 }