blob: 87d509d1031ec4847601ac561625d95cd96ba6fe (
plain)
1 # Description: library to load glade interface files in a program at runtime
2 # URL: http://glade.gnome.org/
3 # Maintainer: Jose V Beneyto, sepen at crux dot nu
4 # Packager: Matt Housh, jaeger at morpheus dot net
5 # Depends on: gtk, python, pkg-config
6
7 name=libglade
8 version=2.6.4
9 release=1
10 source=(http://download.gnome.org/sources/$name/2.6/$name-$version.tar.bz2)
11
12 build() {
13 install -d -m 0755 $PKG/etc/xml/dtd/$name/2.0
14 xmlcatalog --noout --create $PKG/etc/xml/dtd/$name/2.0/catalog
15 cd $name-$version
16 sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
17 -e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
18 sed -i -e "s|/etc/xml/catalog|$PKG/etc/xml/dtd/$name/2.0/catalog|" \
19 -e 's|$(datadir)/xml/libglade|$(datadir)/xml/dtd/libglade/2.0|' Makefile.in
20 ./configure --prefix=/usr \
21 --disable-debug \
22 --disable-gtk-doc
23 make
24 make DESTDIR=$PKG install
25 rm -rf $PKG/usr/share/gtk-doc
26 }
|