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 | |
4 | # Arch Maintainer: CRUX-ARM System Team, crux-arm at mikeux dot dyndns dot org | |
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 | |
8bbf81f6 | 14 | sed -e 's|CFLAGS="$CFLAGS `pkg-config --cflags libmb`"|CFLAGS="$CFLAGS -I$CLFS/usr/include -I$CLFS/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 | |
8bbf81f6 | 22 | make V=1 |
cd876e01 VM |
23 | make DESTDIR=$PKG install |
24 | } |