CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
dillo: fixed AR usage and added ssl support (https)
[attic/ports/opt-cross.git] / xmonobut / Pkgfile
CommitLineData
cd876e01
VM
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
38b50d66 4# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
cd876e01
VM
5# Depends on: libmatchbox
6
7name=xmonobut
8version=0.4.1
8bbf81f6 9release=3
cd876e01
VM
10source=(http://familiar.handhelds.org/source/v0.8.4-rc2/sources/xmonobut-0.4.1.tar.gz)
11
12build() {
13 cd $name-$version
cf01fd35 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' \
cd876e01
VM
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
04842063 22 make
cd876e01
VM
23 make DESTDIR=$PKG install
24}