Ver código fonte

add ucl/upx packages

Waldemar Brodkorb 9 anos atrás
pai
commit
ee5cb4ea25
2 arquivos alterados com 63 adições e 0 exclusões
  1. 28 0
      package/ucl/Makefile
  2. 35 0
      package/upx/Makefile

+ 28 - 0
package/ucl/Makefile

@@ -0,0 +1,28 @@
+# 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:=		ucl
+PKG_VERSION:=		1.03
+PKG_RELEASE:=		1
+PKG_HASH:=		b865299ffd45d73412293369c9754b07637680e5c826915f097577cd27350348
+PKG_DESCR:=		lossless data compression library
+PKG_SECTION:=		libs/comp
+PKG_URL:=		http://www.oberhumer.com/opensource/ucl/
+PKG_SITES:=		http://www.oberhumer.com/opensource/ucl/download/
+PKG_OPTS:=		dev
+PKG_LIBNAME:=		libucl
+
+DISTFILES:=             $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBUCL,libucl,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+libucl-install:
+	$(INSTALL_DIR) $(IDIR_LIBUCL)/usr/lib
+	$(CP) $(WRKINST)/usr/lib/libucl*.so* \
+		$(IDIR_LIBUCL)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk

+ 35 - 0
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