summaryrefslogtreecommitdiffstats
path: root/extra/lesstif/Pkgfile
blob: 395698738b0d1e88db0425711364df8ec7955093 (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
# Description: Version libre de OSF/Motif
# URL: http://www.littlecms.com
# Maintainer: NuTyX core team 
# Packager: thierryn1 at hispeed dot ch
# 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)


build() {
	cd $name-$version
	patch -Np1 -i ../scroll.patch
	patch -Np1 -i ../c++fix.patch
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
	make DESTDIR=$PKG install
	# Remove this file because belong to perl allready
       rm $PKG/usr/share/man/man3/Shell.3
}