CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libcap: initial import (verified compilation)
[attic/ports/opt-cross.git] / xmonobut / Pkgfile
1 # Description: application that helps access 2nd and 3rd mouse buttons on touchscreen
2 # URL: http://www.handhelds.org
3 # Maintainer: Victor Martinez, pitillo at ono dot com
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: libmatchbox
6
7 name=xmonobut
8 version=0.4.1
9 release=3
10 source=(http://familiar.handhelds.org/source/v0.8.4-rc2/sources/xmonobut-0.4.1.tar.gz)
11
12 build() {
13 cd $name-$version
14 sed -e 's|CFLAGS="$CFLAGS `pkg-config --cflags libmb`"|CFLAGS="$CFLAGS -I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions -I$CLFS/usr/include/freetype2"|g' \
15 -e 's|MB_LIBS="`pkg-config --libs libmb`"|MB_LIBS="-L$CLFS/usr/lib -lmb"|g' \
16 -e 's|$PKG_CONFIG --exists libmb|true|g' -i configure
17 ./configure --build=$CHOST \
18 --host=$CTARGET \
19 --prefix=/usr \
20 --mandir=/usr/man \
21 --disable-nls
22 make
23 make DESTDIR=$PKG install
24 }