Fix dependencies for a lot of xorg packages.

git-svn-id: svn://svn.openwrt.org/openwrt/packages@12522 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
lars
2008-09-03 20:55:27 +00:00
parent 0ca049a18a
commit 69086fb8e8
85 changed files with 122 additions and 217 deletions

View File

@ -15,23 +15,17 @@ PKG_SOURCE_URL:=http://xorg.freedesktop.org/releases/X11R7.3/src/lib/
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/${PKG_NAME}-$(PKG_VERSION)/
PKG_FIXUP = libtool
include $(INCLUDE_DIR)/package.mk
define Package/libXext
SECTION:=xorg-libraries
CATEGORY:=Xorg
SUBMENU:=libraries
DEPENDS:=+xorg-headers-native +util-macros +xproto +xextproto +libXau +libX11 @DISPLAY_SUPPORT
DEPENDS:=+xorg-headers-native +util-macros +xproto +xextproto +libX11 +libXau @DISPLAY_SUPPORT
TITLE:=libXext
URL:=http://xorg.freedesktop.org/
endef
define Build/InstallDev
DESTDIR=$(STAGING_DIR) $(MAKE) -C $(PKG_BUILD_DIR)/ $(MAKE_FLAGS) install
endef
ifeq (libXext,libX11)
CONFIGURE_ARGS+=--without-xcb
endif
@ -51,6 +45,7 @@ define Build/Compile
make -C $(PKG_BUILD_DIR)
mkdir -p $(PKG_INSTALL_DIR)
DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
find $(PKG_INSTALL_DIR) -name *.la | xargs rm -rf
endef
define Build/Configure
@ -72,7 +67,7 @@ define Package/libXaw/install
endef
define Build/InstallDev
$(CP) $(PKG_INSTALL_DIR)/* $(STAGING_DIR)
$(CP) $(PKG_INSTALL_DIR)/* $(1)
endef
$(eval $(call BuildPackage,libXext))