From: nbd Date: Wed, 6 Aug 2008 01:40:31 +0000 (+0000) Subject: clean up tiff makefile and fix avr32 compile X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=0184ad6b48a77ed996d41dacbf0744cf6cdf4629;p=packages.git clean up tiff makefile and fix avr32 compile git-svn-id: svn://svn.openwrt.org/openwrt/packages@12196 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/libs/tiff/Makefile b/libs/tiff/Makefile index e58cdf6da..d765223c6 100644 --- a/libs/tiff/Makefile +++ b/libs/tiff/Makefile @@ -18,8 +18,6 @@ PKG_FIXUP := libtool include $(INCLUDE_DIR)/package.mk -CONFIGURE_ARGS_XTRA+=--without-x - define Package/libtiff SECTION:=libs CATEGORY:=Libraries @@ -27,22 +25,8 @@ define Package/libtiff DEPENDS:=+zlib +libjpeg endef -define Build/Configure - (cd $(PKG_BUILD_DIR)/$(CONFIGURE_PATH); \ - if [ -x $(CONFIGURE_CMD) ]; then \ - $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \ - $(CONFIGURE_VARS) \ - $(CONFIGURE_CMD) \ - $(CONFIGURE_ARGS_XTRA) \ - $(CONFIGURE_ARGS) ;\ - fi \ - ) -endef - -define Build/Compile - $(MAKE) -C $(PKG_BUILD_DIR) - $(MAKE) -C $(PKG_BUILD_DIR)/ install DESTDIR=$(PKG_INSTALL_DIR) -endef +CONFIGURE_ARGS += --without-x +MAKE_FLAGS += all install DESTDIR=$(PKG_INSTALL_DIR) define Build/InstallDev $(INSTALL_DIR) $(1)/usr/{lib,include}