0b12749b5e528313320bf7b82559f41a0f3d5d22
[openwrt/svn-archive/archive.git] / devel / make / Makefile
1 #
2 # Copyright (C) 2007-2010 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 include $(TOPDIR)/rules.mk
8
9 PKG_NAME:=make
10 PKG_VERSION:=3.81
11 PKG_RELEASE:=1
12 PKG_SOURCE_URL:=@GNU/make
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
14 PKG_MD5SUM:=354853e0b2da90c527e35aabb8d6f1e6
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/make
19 SECTION:=devel
20 CATEGORY:=Development
21 TITLE:=make
22 URL:=http://www.gnu.org/software/make/
23 endef
24
25 define Package/make/description
26 The Make package contains a program for compiling packages
27 endef
28
29 MAKE_FLAGS += all install DESTDIR="$(PKG_INSTALL_DIR)"
30
31 define Package/make/install
32 $(INSTALL_DIR) $(1)/usr/bin
33 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
34 endef
35
36 $(eval $(call BuildPackage,make))