2007-05-20 02:48:18 +03:00
|
|
|
# Description: A free replacement for Motif
|
2017-08-20 21:45:40 +02:00
|
|
|
# URL: http://lesstif.sourceforge.net
|
2010-03-26 17:13:08 +01:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2015-12-27 23:58:25 +01:00
|
|
|
# Depends on: freetype, xorg-libxt, xorg-libxext
|
2007-05-20 02:48:18 +03:00
|
|
|
|
|
|
|
name=lesstif
|
2010-02-28 02:57:18 +01:00
|
|
|
version=0.95.2
|
|
|
|
release=1
|
2010-11-13 10:03:15 +01:00
|
|
|
source=(http://downloads.sourceforge.net/project/$name/$name/$version/$name-$version.tar.bz2)
|
2007-05-20 02:48:18 +03:00
|
|
|
|
|
|
|
build() {
|
2010-02-28 02:57:18 +01:00
|
|
|
cd $name-$version
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-nonstandard-conversions \
|
|
|
|
--disable-debug \
|
|
|
|
--with-editres \
|
2017-08-20 21:45:40 +02:00
|
|
|
--with-xdnd
|
2010-02-28 02:57:18 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2007-12-29 12:54:32 +01:00
|
|
|
|
2010-02-28 02:57:18 +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
|
2007-12-29 12:54:32 +01:00
|
|
|
|
2010-02-28 02:57:18 +01:00
|
|
|
rm -rf $PKG/usr/LessTif $PKG/usr/lib/X11/ \
|
2017-08-20 21:45:40 +02:00
|
|
|
$PKG/usr/share/man{1/mwm.1,5/mwmrc.5}
|
2007-05-20 02:48:18 +03:00
|
|
|
}
|