add libtool-fix

git-svn-id: svn://svn.openwrt.org/openwrt/packages@13621 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2008-12-13 14:48:55 +00:00
parent 69b6800f20
commit b4c657628a

View File

@ -18,6 +18,8 @@ PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
PKG_BUILD_DEPENDS:=bigreqsproto xproto xextproto xcmiscproto xf86bigfontproto \
kbproto inputproto
PKG_FIXUP:=libtool
include $(INCLUDE_DIR)/package.mk
define Package/libX11
@ -36,12 +38,11 @@ define Build/Compile
$(call $(PKG_NAME)/Compile)
make -C $(PKG_BUILD_DIR)
DESTDIR=$(PKG_INSTALL_DIR) $(MAKE) -C $(PKG_BUILD_DIR) $(MAKE_FLAGS) install
find $(PKG_INSTALL_DIR) -name *.la | xargs rm -rf
endef
define Package/libX11/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/*.{so,a}* $(1)/usr/lib/
endef
define Build/InstallDev