2007-10-07 00:48:52 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2007 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=make
|
|
|
|
PKG_VERSION:=3.81
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_URL:=http://ftp.gnu.org/gnu/make/
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
|
|
|
PKG_MD5SUM:=354853e0b2da90c527e35aabb8d6f1e6
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/make
|
2008-06-09 21:29:40 +00:00
|
|
|
SECTION:=devel
|
|
|
|
CATEGORY:=Development
|
2007-10-07 00:48:52 +00:00
|
|
|
TITLE:=make
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Package/make/description
|
|
|
|
The Make package contains a program for compiling packages
|
|
|
|
endef
|
|
|
|
|
2008-08-05 20:56:22 +00:00
|
|
|
MAKE_FLAGS += all install DESTDIR="$(PKG_INSTALL_DIR)"
|
2007-10-07 00:48:52 +00:00
|
|
|
|
|
|
|
define Package/make/install
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,make))
|