summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/imake
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra-testing/imake')
-rw-r--r--abs/extra-testing/imake/PKGBUILD39
-rw-r--r--abs/extra-testing/imake/linuxconfig.patch31
2 files changed, 70 insertions, 0 deletions
diff --git a/abs/extra-testing/imake/PKGBUILD b/abs/extra-testing/imake/PKGBUILD
new file mode 100644
index 0000000..ba2dc4c
--- /dev/null
+++ b/abs/extra-testing/imake/PKGBUILD
@@ -0,0 +1,39 @@
+# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
+# Maintainer: Alexander Baldeck <alexander@archlinux.org>
+# Contributor: Jan de Groot <jgc@archlinux.org>
+pkgname=imake
+pkgver=1.0.2
+pkgrel=3
+force=y
+pkgdesc="X.Org imake program and related utilities"
+arch=(i686 x86_64)
+url="http://xorg.freedesktop.org/"
+depends=(glibc)
+makedepends=(pkgconfig xproto perl)
+source=(http://xorg.freedesktop.org/releases/individual/util/imake-1.0.2.tar.bz2
+ http://xorg.freedesktop.org/releases/individual/util/gccmakedep-1.0.2.tar.bz2
+ http://xorg.freedesktop.org/releases/individual/util/lndir-1.0.1.tar.bz2
+ http://xorg.freedesktop.org/releases/individual/util/makedepend-1.0.1.tar.bz2
+ http://xorg.freedesktop.org/releases/individual/util/xorg-cf-files-1.0.2.tar.bz2
+ linuxconfig.patch)
+
+build() {
+ cd ${startdir}/src/xorg-cf-files-*
+ patch -Np1 -i ${startdir}/src/linuxconfig.patch || return 1
+ cd ${startdir}/src
+ for i in *; do
+ if [ -d "${i}" ]; then
+ pushd "${i}"
+ ./configure --prefix=/usr
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+ popd
+ fi
+ done
+}
+md5sums=('02fea5a02ba2857c7d81820c8e8b8e6f'
+ 'b533c0771dbbaf9b041ff35bb941d3a2'
+ 'e274ea9f55dfd62afa0a7b1e1ab4ba96'
+ '54ab2549d723e51ff2b9cff4d8bf44d1'
+ '5f62dd5545b782c74f6e4e70d0e6552c'
+ '1b1d7653ac95d4b479784afcd61a889f')
diff --git a/abs/extra-testing/imake/linuxconfig.patch b/abs/extra-testing/imake/linuxconfig.patch
new file mode 100644
index 0000000..8e1c5a0
--- /dev/null
+++ b/abs/extra-testing/imake/linuxconfig.patch
@@ -0,0 +1,31 @@
+--- xorg-cf-files-1.0.1/linux.cf.orig 2006-03-04 18:40:43.000000000 +0000
++++ xorg-cf-files-1.0.1/linux.cf 2006-03-04 18:41:48.000000000 +0000
+@@ -193,6 +193,13 @@
+ #define FSUseSyslog YES
+ #endif
+
++#define FSUseSyslog YES
++#define BuildRman NO
++#define BuildHtmlManPages NO
++#define ProjectRoot /usr
++#define ManPath /usr/man
++#define XappLoadDir /usr/share/X11/app-defaults
++
+ #ifndef HasDevRandom
+ # define HasDevRandom YES
+ # ifndef RandomDeviceName
+--- xorg-cf-files-1.0.2/X11.tmpl.orig 2006-07-15 10:45:23.000000000 +0000
++++ xorg-cf-files-1.0.2/X11.tmpl 2006-07-15 10:46:19.000000000 +0000
+@@ -1502,10 +1502,10 @@
+ #define DocPdfDir $(DOCDIR)/PDF
+ #endif
+ #ifndef FontDir
+-#define FontDir $(LIBDIR)/fonts
++#define FontDir /usr/share/fonts
+ #endif
+ #ifndef FontEncDir
+-#define FontEncDir $(LIBDIR)/fonts/encodings
++#define FontEncDir /usr/share/fonts/encodings
+ #endif
+ #ifndef AdmDir
+ #define AdmDir /usr/adm