summaryrefslogtreecommitdiff
path: root/package/libpciaccess
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/libpciaccess
Initial import
Diffstat (limited to 'package/libpciaccess')
-rw-r--r--package/libpciaccess/Config.in6
-rw-r--r--package/libpciaccess/Makefile26
-rw-r--r--package/libpciaccess/ipkg/libpciaccess.control4
-rw-r--r--package/libpciaccess/patches/patch-configure_ac16
4 files changed, 52 insertions, 0 deletions
diff --git a/package/libpciaccess/Config.in b/package/libpciaccess/Config.in
new file mode 100644
index 000000000..7f8c03c54
--- /dev/null
+++ b/package/libpciaccess/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_LIBPCIACCESS
+ prompt "libpciaccess.......................... PCI access library"
+ tristate
+ default n
+ help
+ http://www.x.org
diff --git a/package/libpciaccess/Makefile b/package/libpciaccess/Makefile
new file mode 100644
index 000000000..e0abce898
--- /dev/null
+++ b/package/libpciaccess/Makefile
@@ -0,0 +1,26 @@
+# $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:= libpciaccess
+PKG_VERSION:= 0.10.3
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 3c4a7578cb63c63ccb1ebca87e10407f
+MASTER_SITES:= ${MASTER_SITE_XORG}
+
+include $(TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBPCIACCESS,libpciaccess,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
+
+CONFIGURE_STYLE= autotool gnu
+BUILD_STYLE= auto
+INSTALL_STYLE= auto confprog
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_LIBPCIACCESS}/usr/lib
+ ${CP} ${WRKINST}/usr/lib/libpciaccess.so* ${IDIR_LIBPCIACCESS}/usr/lib/
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/libpciaccess/ipkg/libpciaccess.control b/package/libpciaccess/ipkg/libpciaccess.control
new file mode 100644
index 000000000..c0c7469eb
--- /dev/null
+++ b/package/libpciaccess/ipkg/libpciaccess.control
@@ -0,0 +1,4 @@
+Package: libpciaccess
+Priority: optional
+Section: x11
+Description: libpciaccess library
diff --git a/package/libpciaccess/patches/patch-configure_ac b/package/libpciaccess/patches/patch-configure_ac
new file mode 100644
index 000000000..11571fda3
--- /dev/null
+++ b/package/libpciaccess/patches/patch-configure_ac
@@ -0,0 +1,16 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- libpciaccess-0.10.3.orig/configure.ac 2008-06-10 21:24:44.000000000 +0200
++++ libpciaccess-0.10.3/configure.ac 2009-05-10 17:22:54.000000000 +0200
+@@ -91,12 +91,6 @@ AM_CONDITIONAL(FREEBSD, [test "x$freebsd
+ AM_CONDITIONAL(OPENBSD, [test "x$openbsd" = xyes])
+ AM_CONDITIONAL(SOLARIS, [test "x$solaris" = xyes])
+
+-AC_CHECK_FILE([/usr/include/asm/mtrr.h],
+- [have_mtrr_h="yes"], [have_mtrr_h="no"])
+-if test "x$have_mtrr_h" = xyes; then
+- AC_DEFINE(HAVE_MTRR, 1, [Use MTRRs on mappings])
+-fi
+-
+ AC_SUBST(PCIACCESS_CFLAGS)
+ AC_SUBST(PCIACCESS_LIBS)
+