source: packages/utils/upx/Makefile @ 21553

Last change on this file since 21553 was 21553, checked in by swalker, 7 years ago

[packages] upx: update to 3.05

File size: 1.2 KB
Line 
1#
2# Copyright (C) 2006-2010 OpenWrt.org
3#
4# This is free software, licensed under the GNU General Public License v2.
5# See /LICENSE for more information.
6#
7
8include $(TOPDIR)/rules.mk
9
10PKG_NAME:=upx
11PKG_VERSION:=3.05
12PKG_RELEASE:=1
13
14PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2
15PKG_SOURCE_URL:=http://upx.sourceforge.net/download
16PKG_MD5SUM:=1f0ca94c8c26a816402274dd7e628334
17
18include $(INCLUDE_DIR)/package.mk
19
20define Package/upx
21  SECTION:=utils
22  CATEGORY:=Utilities
23  DEPENDS:=+libucl +libstdcpp +zlib
24  TITLE:=The Ultimate Packer for eXecutables
25  URL:=http://upx.sourceforge.net/
26endef
27
28define Package/upx/description
29UPX is a free, portable, extendable, high-performance executable packer for
30several different executable formats. It achieves an excellent compression ratio
31and offers very fast decompression. Your executables suffer no memory overhead
32or other drawbacks for most of the formats supported, because of in-place
33decompression.
34endef
35
36MAKE_PATH := src
37MAKE_VARS += \
38        exeext=""
39
40TAR_CMD:=$(HOST_TAR) -C $(PKG_BUILD_DIR) --strip-components 1 $(TAR_OPTIONS)
41
42TARGET_CPPFLAGS += \
43        -DUCL_NO_ASM \
44
45define Package/upx/install
46        $(INSTALL_DIR) $(1)/usr/bin
47        $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/upx $(1)/usr/bin/
48endef
49
50$(eval $(call BuildPackage,upx))
Note: See TracBrowser for help on using the repository browser.