| 1 | # Description: A set of interfaces for accessibility |
| 2 | # URL: http://www.gtk.org/ |
| 3 | # Maintainer: Tilman Sauerbeck, tilman at crux dot nu |
| 4 | # Arch Maintainer System Team devel at crux-arm dot nu |
| 5 | # Depends on: glib |
| 6 | |
| 7 | name=atk |
| 8 | version=1.30.0 |
| 9 | release=1 |
| 10 | source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2) |
| 11 | |
| 12 | build () { |
| 13 | cd $name-$version |
| 14 | |
| 15 | export DEP_LIBS="-L$CLFS/usr/lib -lglib-2.0 -lgobject-2.0" |
| 16 | export DEP_CFLAGS="-I$CLFS/usr/include -I$CLFS/usr/include/glib-2.0 -I$CLFS/usr/lib/glib-2.0/include" |
| 17 | |
| 18 | ./configure --build=$CHOST \ |
| 19 | --host=$CTARGET \ |
| 20 | --prefix=/usr |
| 21 | make |
| 22 | make DESTDIR=$PKG install |
| 23 | rm -r $PKG/usr/share |
| 24 | } |