# evince, http://ftp.gnome.org/pub/gnome/sources/evince/ name=evince version=0.4.0 release=1 source=(ftp://ftp.gnome.org/pub/gnome/desktop/2.12/2.12.0/sources/$name-$version.tar.bz2) build() { cd $name-$version sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \ -e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure ./configure \ --prefix=/opt/gnome \ --sysconfdir=/etc/opt/gnome \ --localstatedir=/var/opt/gnome \ --disable-nls \ --enable-a4-paper \ --enable-opi \ --disable-schemas-install \ --enable-annotations-view make # for omf in `find . -path '*/C/*' -name '*.omf'`; do # test -f $omf.out || cp $omf $omf.out # done export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 make DESTDIR=$PKG install }