clean up tiff makefile and fix avr32 compile
authorFelix Fietkau <nbd@openwrt.org>
Wed, 6 Aug 2008 01:40:31 +0000 (01:40 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Wed, 6 Aug 2008 01:40:31 +0000 (01:40 +0000)
SVN-Revision: 12196

libs/tiff/Makefile

index e58cdf6daf0964eb99ac888d40320830a52fcd0b..d765223c6d10960f37e8d35618177272ab3aaeff 100644 (file)
@@ -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}