summaryrefslogtreecommitdiff
path: root/xfree86
diff options
context:
space:
mode:
authorGreg Gilbert <greg@treke.net>2003-09-29 16:47:11 +0000
committerGreg Gilbert <greg@treke.net>2003-09-29 16:47:11 +0000
commit60fb4a80bf1aaa847a43bda5ef5d04eef978da12 (patch)
treec91a9f7a052e37ed9043ae5b08d0020b9f537058 /xfree86
parent700586a5b931ba9fff906590792e4fdae1036230 (diff)
fixing depends
2003/09/29 09:40:15-07:00 treke.ath.cx!ggilbert Many files: Fixing depends. They should be space seperated, not comma seperated. 2003/09/28 13:43:35-07:00 treke.ath.cx!ggilbert Forgot the ncurses dependency for frotz BKrev: 3f78620fJasAxkrIK1Fr7z1A3qUYuQ
Diffstat (limited to 'xfree86')
-rw-r--r--xfree86/xfree86-4.3.0.oe51
1 files changed, 51 insertions, 0 deletions
diff --git a/xfree86/xfree86-4.3.0.oe b/xfree86/xfree86-4.3.0.oe
index e69de29bb2..6d65912125 100644
--- a/xfree86/xfree86-4.3.0.oe
+++ b/xfree86/xfree86-4.3.0.oe
@@ -0,0 +1,51 @@
+SECTION="base"
+PRIORITY="required"
+MAINTAINER="Greg Gilbert <greg@treke.net>"
+RDEPENDS="libc6"
+DEPENDS=virtual/libc zlib tslib ncurses
+
+SRC_URI = "ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/X430src-1.tgz;"
+SRC_URI_append =" ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/X430src-2.tgz;"
+SRC_URI_append =" ftp://ftp.xfree86.org/pub/XFree86/4.3.0/source/X430src-3.tgz;"
+SRC_URI_append =" file://${FILESDIR}/tinyx-kbd-enable-fix.patch;patch=1"
+SRC_URI_append =" file://${FILESDIR}/tinyx-tslib-reset-and-vt-switch-fixes.patch;patch=1"
+SRC_URI_append =" file://${FILESDIR}/dirty-3.2-xterm-breakage-fix.patch;patch=1"
+
+S=${WORKDIR}/xc
+
+
+do_configure() {
+ rm -fr ${WORKDIR}/XXcompiler;
+ mkdir -p ${WORKDIR}/XXcompiler
+ pushd ./
+ cd ${CROSS_DIR}/bin/;
+ echo ${CC}
+ for i in *; do
+ echo " linking ${WORKDIR}/XXcompiler/$i to $i";
+ ln -s ${CROSS_DIR}/bin/$i ${WORKDIR}/XXcompiler/$i ;
+ toolname=`echo $i | sed s/${TARGET_ARCH}-${TARGET_OS}-//`
+ echo `echo $i | sed s/${TARGET_ARCH}-${TARGET_OS}-//`
+ echo " linking ${WORKDIR}/XXcompiler/$i to $toolname";
+ ln -s ${CROSS_DIR}/bin/$i ${WORKDIR}/XXcompiler/$toolname;
+ done
+ echo "#!/bin/sh" > ${WORKDIR}/XXcompiler/cc
+ echo "${CC} \$*" >> ${WORKDIR}/XXcompiler/cc
+ chmod 755 ${WORKDIR}/XXcompiler/cc
+ popd ;
+
+
+}
+
+XCURSORGEN=/usr/local/X11R6/bin/xcursorgen
+EXTRA_OEMAKE="-C ${S} CC='${BUILD_CC}' CROSSCOMPILEDIR='${WORKDIR}/XXcompiler' EXTRA_LDOPTIONS='${LDFLAGS}' EXTRA_INCLUDES='-I${STAGING_DIR}/include' "
+do_compile() {
+ sed -e "s/^\#define KdriveServerExtraDefines -DITSY -DMAXSCREENS=2 -DXResExtension.*/\#define KdriveServerExtraDefines -DITSY -DMAXSCREENS=2 -DXResExtension ${FULL_OPTIMIZATION}/" < ${FILESDIR}/host.def > ${S}/config/cf/host.def;
+
+ oe_runmake World
+
+}
+
+do_install() {
+ oe_runmake DESTDIR=${D} install
+
+}