diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-25 21:00:47 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-10-25 21:01:32 +0200 |
commit | d8a3cfe3d7691fd44ee341b4753c602c10b7db7b (patch) | |
tree | 11e42a70ceca0932cf08726b8c214b76a7b02cd4 /package/toybox/Makefile | |
parent | 0fc7f3ed051d53814504d4a89d8ad6ccd0009f7a (diff) |
toybox: new package
Diffstat (limited to 'package/toybox/Makefile')
-rw-r--r-- | package/toybox/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/toybox/Makefile b/package/toybox/Makefile new file mode 100644 index 000000000..c46bd2f30 --- /dev/null +++ b/package/toybox/Makefile @@ -0,0 +1,30 @@ +# 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:= toybox +PKG_VERSION:= 0.7.1 +PKG_RELEASE:= 1 +PKG_HASH:= 5bb3069f58faf12940d5cfde3209ac7f63210bebdd9023979b0c20cede126ea7 +PKG_DESCR:= linux tools collection +PKG_SECTION:= base/apps +PKG_URL:= http://landley.net/toybox/ +PKG_SITES:= http://landley.net/toybox/downloads/ + +DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz + +include $(ADK_TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,TOYBOX,toybox,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION))) + +CONFIG_STYLE:= manual +XAKE_FLAGS+= CC="gcc" V=1 PREFIX="$(WRKINST)" + +do-configure: + cd $(WRKBUILD); PATH='$(HOST_PATH)' $(MAKE) defconfig + +toybox-install: + $(CP) $(WRKINST)/* $(IDIR_TOYBOX)/ + +include $(ADK_TOPDIR)/mk/pkg-bottom.mk |