summaryrefslogtreecommitdiff
path: root/package/upx
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-15 11:21:54 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-19 15:48:48 +0100
commitee5cb4ea2592e9defa081cf23b704160b364e9b4 (patch)
tree1e2fc059187b16eb5cc489986642ce80a4873ff7 /package/upx
parentf0db4f5008c4bce495f1e314fe4c39576743612d (diff)
add ucl/upx packages
Diffstat (limited to 'package/upx')
-rw-r--r--package/upx/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/package/upx/Makefile b/package/upx/Makefile
new file mode 100644
index 000000000..678486ab4
--- /dev/null
+++ b/package/upx/Makefile
@@ -0,0 +1,35 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= upx
+PKG_VERSION:= 3.91
+PKG_RELEASE:= 1
+PKG_HASH:= 527ce757429841f51675352b1f9f6fc8ad97b18002080d7bf8672c466d8c6a3c
+PKG_DESCR:= ultimate packer for executables
+PKG_SECTION:= sys/misc
+PKG_DEPENDS:= libucl zlib
+PKG_BUILDDEP:= ucl zlib
+PKG_URL:= http://upx.sourceforge.net
+PKG_SITES:= http://upx.sourceforge.net/download/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2
+WRKDIST= $(WRKDIR)/$(PKG_NAME)-$(PKG_VERSION)-src
+
+include $(ADK_TOPDIR)/mk/host.mk
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call HOST_template,UPX,upx,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,UPX,upx,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE:= manual
+INSTALL_STYLE:= manual
+
+upx-install:
+ $(INSTALL_DIR) $(IDIR_UPX)/usr/bin
+ $(INSTALL_BIN) $(WRKBUILD)/src/upx.out \
+ $(IDIR_UPX)/usr/bin
+
+include $(ADK_TOPDIR)/mk/host-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk