2006-02-23 15:26:10 +00:00
|
|
|
# Description: library to load glade interface files in a program at runtime
|
|
|
|
# URL: http://glade.gnome.org/
|
|
|
|
# Maintainer: Matt Housh, jaeger at morpheus dot net
|
2006-02-23 17:40:54 +00:00
|
|
|
# Depends on: glib, atk, gtk, libxml2, python
|
2006-02-23 15:26:10 +00:00
|
|
|
# Group: gnome
|
|
|
|
|
|
|
|
name=libglade
|
|
|
|
version=2.5.1
|
|
|
|
release=1
|
|
|
|
source=(http://ftp.gnome.org/pub/gnome/platform/2.12/2.12.0/sources/$name-$version.tar.bz2)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
install -d -m 0755 $PKG/etc/xml/dtd/$name/2.0
|
|
|
|
xmlcatalog --noout --create $PKG/etc/xml/dtd/$name/2.0/catalog
|
|
|
|
cd $name-$version
|
|
|
|
sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
|
|
|
|
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
|
|
|
|
sed -i -e "s|/etc/xml/catalog|$PKG/etc/xml/dtd/$name/2.0/catalog|" \
|
|
|
|
-e 's|$(datadir)/xml/libglade|$(datadir)/xml/dtd/libglade/2.0|' Makefile.in
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--disable-debug \
|
|
|
|
--disable-gtk-doc
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share/gtk-doc
|
|
|
|
}
|