summaryrefslogtreecommitdiff
path: root/lesstif/Pkgfile
blob: 12c3acf89678fd4bf2b08842b64e62a7a924144c (plain)
    1 # Description: A free replacement for Motif
    2 # URL:         http://www.lesstif.org/
    3 # Maintainer:  Thomas Penteker, tek at serverop dot de
    4 # Packager:    Antti Nykanen, aon at iki dot fi
    5 # Depends on:  freetype, xorg-libxt, xorg-libxext
    6 
    7 name=lesstif
    8 version=0.95.2
    9 release=1
   10 source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
   11 
   12 build() {
   13   cd $name-$version
   14   ./configure \
   15     --prefix=/usr \
   16     --enable-nonstandard-conversions \
   17     --disable-debug \
   18     --with-editres \
   19     --with-xdnd \
   20     --mandir=/usr/man
   21   make
   22   make DESTDIR=$PKG install
   23 
   24   # remove xprint stuff
   25   rm $PKG/usr/include/Xm/Print{SP,}.h
   26   sed -i -e 's/.*Print.h.*//' $PKG/usr/include/Xm/XmAll.h
   27 
   28   rm -rf $PKG/usr/LessTif $PKG/usr/lib/X11/ \
   29          $PKG/usr/man/man{1/mwm.1,5/mwmrc.5}
   30 }

Generated by cgit