Commit | Line | Data |
---|---|---|
f2aa8e65 VM |
1 | # Description: the Matchbox Library |
2 | # URL: http://matchbox.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 |
f2aa8e65 VM |
5 | # Depends on: xorg-libxext xorg-libxft |
6 | ||
7 | name=libmatchbox | |
8 | version=1.9 | |
9 | release=1 | |
10 | source=(http://matchbox-project.org/sources/$name/$version/$name-$version.tar.bz2) | |
11 | ||
12 | build() { | |
13 | cd $name-$version | |
14 | ||
15 | export XLIBS_LIBS="-L$CLFS/usr/lib -lpthread-stubs -lX11 -lXext -lXft -lfreetype -lz" | |
16 | export XLIBS_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/X11 -I$CLFS/usr/include/X11/extensions -I$CLFS/usr/include/freetype2" | |
17 | export XFT_LIBS="-L$CLFS/usr/lib -lXft" | |
18 | export XFT_CFLAGS="-I$CLFS/usr/include" | |
19 | ||
20 | ./configure --build=$CHOST \ | |
21 | --host=$CTARGET \ | |
22 | --prefix=/usr \ | |
23 | --mandir=$PKG/usr/man \ | |
24 | --enable-jpeg \ | |
25 | --disable-nls | |
26 | make | |
27 | make DESTDIR=$PKG install | |
28 | } |