package/dhcp/S80dhcp-server: allow empty INTERFACES
[buildroot-gz.git] / package / upx / upx.mk
blob400d28328d79b53335f355fa19fe43e60dc023a4
1 ################################################################################
3 # upx
5 ################################################################################
7 UPX_VERSION = 3.91
8 UPX_SITE = http://upx.sourceforge.net/download
9 UPX_SOURCE = upx-$(UPX_VERSION)-src.tar.bz2
10 UPX_LICENSE = GPLv2+
11 UPX_LICENSE_FILES = COPYING
13 HOST_UPX_DEPENDENCIES = host-ucl host-zlib
15 # We need to specify all, otherwise the default target only prints a message
16 # stating to "please choose a target for 'make'"... :-(
17 define HOST_UPX_BUILD_CMDS
18 $(HOST_MAKE_ENV) $(MAKE) CPPFLAGS="$(HOST_CPPFLAGS)" \
19 LDFLAGS="$(HOST_LDFLAGS)" UPX_UCLDIR=$(HOST_DIR)/usr \
20 -C $(@D) all
21 endef
23 # UPX has no install procedure, so install it manually.
24 define HOST_UPX_INSTALL_CMDS
25 $(INSTALL) -D -m 0755 $(@D)/src/upx.out $(HOST_DIR)/usr/bin/upx
26 endef
28 $(eval $(host-generic-package))