banana-pro: bring it in shape
[openadk.git] / package / toybox / Makefile
blobc32c3aac5d0b7701d0f02b7f0274a827f33540c3
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= toybox
7 PKG_VERSION:= 0.8.3
8 PKG_RELEASE:= 1
9 PKG_HASH:= eab28fd29d19d4e61ef09704e5871940e6f35fd35a3bb1285e41f204504b5c01
10 PKG_DESCR:= linux tools collection
11 PKG_SECTION:= base/apps
12 PKG_URL:= http://landley.net/toybox/
13 PKG_SITES:= http://landley.net/toybox/downloads/
14 PKG_BB:= 1
16 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,TOYBOX,toybox,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
22 CONFIG_STYLE:= manual
23 XAKE_FLAGS+= CC="gcc" V=1 PREFIX="$(WRKINST)"
25 do-configure:
26 -rm $(WRKBUILD)/toys/other/swap*.c
27 cd $(WRKBUILD); CC="gcc" PATH='$(HOST_PATH)' $(MAKE) defconfig
29 toybox-install:
30 $(CP) $(WRKINST)/* $(IDIR_TOYBOX)/
32 include $(ADK_TOPDIR)/mk/pkg-bottom.mk