# Tanım: LessTif, Motif® araç kitinin bir klonudur.
# URL: http://www.lesstif.org/
# Paketçi: milisarge
# Gerekler: freetype xorg-libxt xorg-libxext

isim=lesstif
surum=0.95.2
devir=1
kaynak=(http://downloads.sourceforge.net/project/$isim/$isim/$surum/$isim-$surum.tar.bz2)

derle() {
  cd $isim-$surum
  ./configure \
    --prefix=/usr \
    --enable-nonstandard-conversions \
    --disable-debug \
    --with-editres \
    --with-xdnd \
    --mandir=/usr/man
  make
  make DESTDIR=$PKG install

  # remove xprint stuff
  rm $PKG/usr/include/Xm/Print{SP,}.h
  sed -i -e 's/.*Print.h.*//' $PKG/usr/include/Xm/XmAll.h

  rm -rf $PKG/usr/LessTif $PKG/usr/lib/X11/ \
         $PKG/usr/man/man{1/mwm.1,5/mwmrc.5}
}
