summaryrefslogtreecommitdiffstats
path: root/lesstif/Pkgfile
blob: eea51902d1b20a62f11a1f0508e28bdf0716b5fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Description: Version libre de OSF/Motif
# URL: http://lesstif.sourceforge.net/
# Maintainer: NuTyX core team 
# Packager: thierryn1 at hispeed dot ch
# Depends on: freetype, xorg, xorg-libxp
# Run on: freetype,xorg-libxp

name=lesstif
version=0.95.2
release=1
source=( http://downloads.sourceforge.net/$name/$name-$version.tar.bz2)


build() {
	cd $name-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc/X11 \
		--mandir=/usr/share/man \
		--disable-debug \
		--enable-production \
		--with-xdnd \
		--infodir=/usr/share/info
	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

}