#Packager: Shador pkgname=lablgtk pkgver=2.14.2 pkgrel=1ab source=("http://wwwfun.kurims.kyoto-u.ac.jp/soft/lsl/dist/lablgtk-${pkgver}.tar.gz") sourcetemplate="http://gaia.homelinux.org/salix/slkbuilds/$pkgname/" docs=("changes" "changes.api" "lgpl" "meta" "readme" "copying") url='http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgtk.html' slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "$pkgname (Objective Caml interface to gtk+)" "It uses the rich type system of Objective Caml 3 to provide a strongly" "typed, yet very comfortable, object-oriented interface to gtk+. This" "is not that easy if you know the dynamic typing approach taken by " "gtk+. It is still under development, but already fully functional. All" "widgets (but one) are available, with almost all their methods. The" "GLArea widget is also supported in combination with LablGL. LibGlade" "and GdkPixbuf support is also included for both versions. LablGTK2" "adds support for gnomecanvas, librsvg and libpanel Many examples are" "provided. " ) build() { set -e cd $startdir/src/$pkgname-$pkgver configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --localstatedir=/var \ --sysconfdir=/etc \ --mandir=/usr/man \ --docdir=/usr/doc/$pkgname-$pkgver/ \ --with-threads=yes \ --with-gtkspell \ --build=$arch-slackware-linux || return 1 make -j $numjobs world || return 1 make install DESTDIR=$startdir/pkg chown -R root:root $startdir/pkg/* set +e }