[packages] net-snmp: add libtool fixup (closes: #6319)
[packages.git] / devel / make / Makefile
1
2 # Copyright (C) 2007 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 endef
23
24 define Package/make/description
25         The Make package contains a program for compiling packages
26 endef
27
28 MAKE_FLAGS += all install DESTDIR="$(PKG_INSTALL_DIR)"
29
30 define Package/make/install
31         $(INSTALL_DIR) $(1)/usr/bin
32         $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/make $(1)/usr/bin/
33 endef
34
35 $(eval $(call BuildPackage,make))