1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-18 13:23:57 +02:00
openwrt-packages/devel/make/Makefile
diizzyy 79ae5d7074 make switch to bz2 tarball
Switch to bz2 tarball

Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
2016-10-01 23:23:45 +02:00

47 lines
1.0 KiB
Makefile

#
# Copyright (C) 2015 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:=4.2.1
PKG_RELEASE:=2
PKG_SOURCE_URL:=@GNU/make
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_MD5SUM:=15b012617e7c44c0ed482721629577ac
PKG_MAINTAINER:=Heinrich Schuchardt <xypron.glpk@gmx.de>
PKG_LICENSE:=GPL-3.0+
PKG_INSTALL:=1
include $(INCLUDE_DIR)/package.mk
define Package/make
SECTION:=devel
CATEGORY:=Development
TITLE:=make
URL:=https://www.gnu.org/software/make/
endef
define Package/make/description
The Make package contains a tool to create executables from source files.
endef
define Package/make/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
endef
# provide gnumake.h at build time for other packages
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_BUILD_DIR)/gnumake.h $(1)/usr/include/
endef
$(eval $(call BuildPackage,make))