summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/imake
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-14 18:38:20 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-14 18:38:20 (GMT)
commit75a974500de1bb4b0bb84b726a9d7075d07e18b7 (patch)
tree9a0c45226e4b04a8595fbacfcde115d444f5c5d5 /abs/core-testing/imake
parent14beb839185f027cba412b6aa0941296a843818b (diff)
downloadlinhes_pkgbuild-75a974500de1bb4b0bb84b726a9d7075d07e18b7.zip
linhes_pkgbuild-75a974500de1bb4b0bb84b726a9d7075d07e18b7.tar.gz
linhes_pkgbuild-75a974500de1bb4b0bb84b726a9d7075d07e18b7.tar.bz2
Removing more cross repo makedepends.
Moved the following packages from extra->core. nasm automake autoconf sharutils imake gperf/ yasm/ setuptools/ libcaca/ libdca/ live-media/ There are still several cross repo make depends, but some packages just dont' belong in core. For instance avahi and ca-certificates(core) depend on mono and ruby(extra). But really mono and ruby do not belong in core.
Diffstat (limited to 'abs/core-testing/imake')
-rw-r--r--abs/core-testing/imake/PKGBUILD39
-rw-r--r--abs/core-testing/imake/linuxconfig.patch31
2 files changed, 70 insertions, 0 deletions
diff --git a/abs/core-testing/imake/PKGBUILD b/abs/core-testing/imake/PKGBUILD
new file mode 100644
index 0000000..ba2dc4c
--- /dev/null
+++ b/abs/core-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/core-testing/imake/linuxconfig.patch b/abs/core-testing/imake/linuxconfig.patch
new file mode 100644
index 0000000..8e1c5a0
--- /dev/null
+++ b/abs/core-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