2007-05-20 02:48:18 +03:00
|
|
|
# Description: A free replacement for Motif
|
|
|
|
# URL: http://www.lesstif.org/
|
|
|
|
# Maintainer: Antti Nykanen, aon at iki dot fi
|
2008-06-17 11:42:28 +03:00
|
|
|
# Depends on: freetype, xorg-libxt
|
2007-05-20 02:48:18 +03:00
|
|
|
|
|
|
|
name=lesstif
|
|
|
|
version=0.95.0
|
2008-06-17 18:39:42 +03:00
|
|
|
release=3
|
|
|
|
source=(http://dl.sf.net/$name/lesstif-$version.tar.bz2
|
|
|
|
$name-$version-libxpm.patch
|
|
|
|
$name-$version-vendorsp.patch
|
|
|
|
$name-$version-disable_mwm.patch)
|
2007-05-20 02:48:18 +03:00
|
|
|
|
|
|
|
build() {
|
2008-06-17 18:39:42 +03:00
|
|
|
cd $name-$version
|
|
|
|
patch -p0 -i $SRC/$name-$version-libxpm.patch
|
|
|
|
patch -p0 -i $SRC/$name-$version-vendorsp.patch
|
|
|
|
patch -p0 -i $SRC/$name-$version-disable_mwm.patch
|
2007-05-20 02:48:18 +03:00
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-nonstandard-conversions \
|
|
|
|
--disable-debug \
|
|
|
|
--with-editres \
|
|
|
|
--with-xdnd
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-12-29 12:54:32 +01:00
|
|
|
|
|
|
|
# remove xprint stuff
|
|
|
|
rm $PKG/usr/include/Xm/Print{SP,}.h
|
|
|
|
sed -i -e 's/.*Print.h.*//' $PKG/usr/include/Xm/XmAll.h
|
|
|
|
|
2008-06-17 18:39:42 +03:00
|
|
|
rm -rf $PKG/usr/LessTif $PKG/usr/lib/X11/ \
|
2007-05-20 02:48:18 +03:00
|
|
|
$PKG/usr/man/man{1/mwm.1,5/mwmrc.5}
|
|
|
|
}
|