Commit | Line | Data |
---|---|---|
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 | ||
7 | name=xmonobut | |
8 | version=0.4.1 | |
8bbf81f6 | 9 | release=3 |
cd876e01 VM |
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 | |
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 | } |