27 lines
875 B
Plaintext
27 lines
875 B
Plaintext
|
# 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
|
||
|
# Depends on: glib, atk, gtk, libxml2, python, pkgconfig
|
||
|
# 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
|
||
|
}
|