summaryrefslogtreecommitdiff
path: root/package/libX11
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/libX11
Initial import
Diffstat (limited to 'package/libX11')
-rw-r--r--package/libX11/Config.in7
-rw-r--r--package/libX11/Makefile30
-rw-r--r--package/libX11/ipkg/libx11.control4
-rw-r--r--package/libX11/patches/patch-src_util_Makefile_in21
-rw-r--r--package/libX11/patches/patch-src_util_Makefile_in.orig12
5 files changed, 74 insertions, 0 deletions
diff --git a/package/libX11/Config.in b/package/libX11/Config.in
new file mode 100644
index 000000000..d83aa266d
--- /dev/null
+++ b/package/libX11/Config.in
@@ -0,0 +1,7 @@
+config ADK_PACKAGE_LIBX11
+ prompt "libX11................................. X library"
+ tristate
+ select ADK_PACKAGE_LIBXDMCP
+ default n
+ help
+ http://www.x.org
diff --git a/package/libX11/Makefile b/package/libX11/Makefile
new file mode 100644
index 000000000..2709dd1f7
--- /dev/null
+++ b/package/libX11/Makefile
@@ -0,0 +1,30 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= libX11
+PKG_VERSION:= 1.1.5
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 2feb39a0de6f05b25c308268691d960c
+MASTER_SITES:= ${MASTER_SITE_XORG}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBX11,libx11,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+CONFIGURE_STYLE= gnu
+CONFIGURE_ARGS+= --enable-xlocale \
+ --disable-xf86bigfont \
+ --disable-malloc0returnsnull \
+ --without-xcb
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBX11}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libX11.so* ${IDIR_LIBX11}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libX11/ipkg/libx11.control b/package/libX11/ipkg/libx11.control
new file mode 100644
index 000000000..5a71847b3
--- /dev/null
+++ b/package/libX11/ipkg/libx11.control
@@ -0,0 +1,4 @@
+Package: libx11
+Priority: optional
+Section: x11
+Description: X.org library
diff --git a/package/libX11/patches/patch-src_util_Makefile_in b/package/libX11/patches/patch-src_util_Makefile_in
new file mode 100644
index 000000000..3a5366af1
--- /dev/null
+++ b/package/libX11/patches/patch-src_util_Makefile_in
@@ -0,0 +1,21 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- libX11-1.1.5.orig/src/util/Makefile.in 2008-09-04 23:48:56.000000000 +0200
++++ libX11-1.1.5/src/util/Makefile.in 2008-12-22 13:41:42.000000000 +0100
+@@ -82,7 +82,7 @@ BIGFONT_CFLAGS = @BIGFONT_CFLAGS@
+ BIGFONT_LIBS = @BIGFONT_LIBS@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@
++CFLAGS = -O2
+ CPP = @CPP@
+ CPPFLAGS = @CPPFLAGS@
+ CXX = @CXX@
+@@ -229,7 +229,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ makekeys_CFLAGS = $(X11_CFLAGS)
+
+-#override CC = gcc
++override CC = gcc
+ LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ EXTRA_DIST = mkks.sh
+
diff --git a/package/libX11/patches/patch-src_util_Makefile_in.orig b/package/libX11/patches/patch-src_util_Makefile_in.orig
new file mode 100644
index 000000000..fb4885f40
--- /dev/null
+++ b/package/libX11/patches/patch-src_util_Makefile_in.orig
@@ -0,0 +1,12 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- libX11-1.1.5.orig/src/util/Makefile.in 2008-09-04 23:48:56.000000000 +0200
++++ libX11-1.1.5/src/util/Makefile.in 2008-12-22 13:39:31.000000000 +0100
+@@ -229,7 +229,7 @@ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+ makekeys_CFLAGS = $(X11_CFLAGS)
+
+-#override CC = gcc
++override CC = gcc
+ LINK = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+ EXTRA_DIST = mkks.sh
+