2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
12 PKG_SOURCE_URL
:=http
://ftp.gnu.org
/gnu
/make
/
13 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
14 PKG_MD5SUM
:=354853e0b2da90c527e35aabb8d6f1e6
16 include $(INCLUDE_DIR
)/package.mk
24 define Package
/make
/description
25 The Make package contains a program for compiling packages
28 MAKE_FLAGS
+= all install DESTDIR
="$(PKG_INSTALL_DIR)"
30 define Package
/make
/install
31 $(INSTALL_DIR
) $(1)/usr
/bin
32 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/make
$(1)/usr
/bin
/
35 $(eval
$(call BuildPackage
,make
))