2 # Copyright (C) 2011 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
)-src.
tar.bz2
13 PKG_SOURCE_URL
:=@SF
/upx
14 PKG_MD5SUM
:=8186ab103288242f7e8ecad1acd4af03
17 HOST_BUILD_DIR
:=$(BUILD_DIR_HOST
)/$(PKG_NAME
)-$(PKG_VERSION
)-src
19 include $(INCLUDE_DIR
)/host-build.mk
22 rm -f
$(HOST_BUILD_DIR
)/src
/.depend
23 $(MAKE
) UPX_LZMADIR
="$(BUILD_DIR_HOST)/lzma-4.65" -C
$(HOST_BUILD_DIR
)/src \
28 $(CP
) $(HOST_BUILD_DIR
)/src
/upx.out
$(STAGING_DIR_HOST
)/bin
/upx
32 rm -f
$(STAGING_DIR_HOST
)/bin
/upx
35 $(eval
$(call HostBuild
))