add host build for libjpeg

git-svn-id: svn://svn.openwrt.org/openwrt/packages@15558 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mirko 2009-05-02 17:33:27 +00:00
parent 81963fefdd
commit 4a06d37944

View File

@ -18,6 +18,7 @@ PKG_MD5SUM:=dbd5f3b47ed13132f04c685d608a7547
PKG_FIXUP = libtool PKG_FIXUP = libtool
include $(INCLUDE_DIR)/host-build.mk
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
define Package/jpeg/Default define Package/jpeg/Default
@ -46,6 +47,10 @@ CONFIGURE_ARGS += \
--enable-shared \ --enable-shared \
--enable-static \ --enable-static \
HOST_CONFIGURE_ARGS += \
--enable-shared \
--enable-static \
define Build/Prepare define Build/Prepare
$(call Build/Prepare/Default) $(call Build/Prepare/Default)
# replace the old upstream libtool stuff with our own # replace the old upstream libtool stuff with our own
@ -85,5 +90,6 @@ define Package/jpeg-tools/install
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/*jpeg* $(1)/usr/bin/ $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/*jpeg* $(1)/usr/bin/
endef endef
$(eval $(call HostBuild))
$(eval $(call BuildPackage,libjpeg)) $(eval $(call BuildPackage,libjpeg))
$(eval $(call BuildPackage,jpeg-tools)) $(eval $(call BuildPackage,jpeg-tools))