From 219a6dab8995aad9ac4860cc1a84d6f3509a03a4 Mon Sep 17 00:00:00 2001 From: wbx Date: Sun, 17 May 2009 14:41:34 +0200 Subject: Initial import --- package/libpciaccess/Config.in | 6 ++++++ package/libpciaccess/Makefile | 26 +++++++++++++++++++++++++ package/libpciaccess/ipkg/libpciaccess.control | 4 ++++ package/libpciaccess/patches/patch-configure_ac | 16 +++++++++++++++ 4 files changed, 52 insertions(+) create mode 100644 package/libpciaccess/Config.in create mode 100644 package/libpciaccess/Makefile create mode 100644 package/libpciaccess/ipkg/libpciaccess.control create mode 100644 package/libpciaccess/patches/patch-configure_ac (limited to 'package/libpciaccess') 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) + -- cgit v1.2.3