summaryrefslogtreecommitdiffstats
path: root/extra/lesstif/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-01-09 19:26:56 +0100
committertnut <thierryn1 at hispeed dot ch>2010-01-09 19:26:56 +0100
commitad069aad35e558c445b9b5894d55bce0bbf2075a (patch)
tree88c6860815ee1541fc24870449908d876d5c44df /extra/lesstif/Pkgfile
parentb4b606102d6f0bd19e02efaf0d4d10010eeb3765 (diff)
downloadnutyx-extra-ad069aad35e558c445b9b5894d55bce0bbf2075a.tar.gz
nutyx-extra-ad069aad35e558c445b9b5894d55bce0bbf2075a.tar.bz2
nutyx-extra-ad069aad35e558c445b9b5894d55bce0bbf2075a.tar.xz
nutyx-extra-ad069aad35e558c445b9b5894d55bce0bbf2075a.zip
Maj lesstif#0.95.2-1
Diffstat (limited to 'extra/lesstif/Pkgfile')
-rwxr-xr-xextra/lesstif/Pkgfile21
1 files changed, 13 insertions, 8 deletions
diff --git a/extra/lesstif/Pkgfile b/extra/lesstif/Pkgfile
index 395698738..08d268dca 100755
--- a/extra/lesstif/Pkgfile
+++ b/extra/lesstif/Pkgfile
@@ -5,21 +5,26 @@
# Depends on: freetype
name=lesstif
-version=0.95.0
-release=3
-source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2\
- c++fix.patch scroll.patch)
+version=0.95.2
+release=1
+source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2)
build() {
cd $name-$version
- patch -Np1 -i ../scroll.patch
- patch -Np1 -i ../c++fix.patch
./configure --prefix=/usr \
+ --sysconfdir=/etc/X11 \
--mandir=/usr/share/man \
+ --disable-debug \
+ --enable-production \
+ --with-xdnd \
--infodir=/usr/share/info
- make
- make DESTDIR=$PKG install
+ sed -i "s@libdir)/X11/mwm@sysconfdir)/mwm@" clients/Motif-2.1/mwm/Makefile
+ make rootdir=/usr/share/doc/$name-$version
+ make rootdir=/usr/share/doc/$name-$version DESTDIR=$PKG install
# Remove this file because belong to perl allready
rm $PKG/usr/share/man/man3/Shell.3
+ ln -v -sf /etc/X11/mwm $PKG/usr/lib/X11
+ rm -r $PKG/usr/share/doc
+
}