summaryrefslogtreecommitdiffstats
path: root/xaw3d/Pkgfile
blob: 2dc23b3b340c6c5ebeb86611f0a39ebd83f4195b (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
33
34
35
36
# Description: 3 -D Athena widgets
# URL: http://directory.fsf.org/project/xaw3d/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: xorg-imake, xorg-libxt, xorg-libxp, xorg-libxpm, xorg-libxmu
# Run on: xorg-imake,xorg-libxt,xorg-libxp,xorg-libxpm,xorg-libxmu

name=xaw3d
version=1.5E
release=1
source=(ftp://ftp.visi.com/users/hawkeyd/X/Xaw3d-$version.tar.gz \
        http://nutyx.meticul.eu/files/patchs/$name/Xaw3d-1.5E-xorg-imake.patch \
	http://nutyx.meticul.eu/files/patchs/$name/Xaw3d-1.5-i18n.patch \
        http://nutyx.meticul.eu/files/patchs/$name/Xaw3d-1.5-box.c.patch \
       	http://nutyx.meticul.eu/files/patchs/$name/Xaw3d-1.5-debian-fixes.patch \
        http://nutyx.meticul.eu/files/patchs/$name/xaw3d.patch \
	http://nutyx.meticul.eu/files/patchs/$name/Xaw3d-1.5E-warnings.patch \
	http://nutyx.meticul.eu/files/patchs/$name/Xaw3d-ia64.patch)

build() {
	cd xc/lib/Xaw3d
	patch -Np0 -i $SRC/Xaw3d-1.5E-xorg-imake.patch
  	patch -Np4 -i $SRC/xaw3d.patch
  	patch -Np4 -i $SRC/Xaw3d-ia64.patch
  	patch -Np4 -i $SRC/Xaw3d-1.5-i18n.patch
  	patch -Np4 -i $SRC/Xaw3d-1.5-box.c.patch
  	patch -Np4 -i $SRC/Xaw3d-1.5-debian-fixes.patch
  	patch -Np4 -i $SRC/Xaw3d-1.5E-warnings.patch

	ln -s .. X11
	xmkmf
	make CDEBUGFLAGS="${CFLAGS} -DARROW_SCROLLBAR"
	make DESTDIR=$PKG SHLIBDIR=/usr/lib INCDIR=/usr/include install
}