ccache, samba36: fix samba.org addresses to use https
[openwrt/staging/yousong.git] / tools / coreutils / Makefile
1 #
2 # Copyright (C) 2015 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:=coreutils
10 PKG_VERSION:=8.25
11
12 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
13 PKG_SOURCE_URL:=@GNU/coreutils
14 PKG_HASH:=31e67c057a5b32a582f26408c789e11c2e8d676593324849dcf5779296cdce87
15
16 HOST_BUILD_PARALLEL := 1
17
18 BUILD_PROGRAMS = date
19
20 include $(INCLUDE_DIR)/host-build.mk
21
22 BUILD_BINS = $(patsubst %,src/%,$(BUILD_PROGRAMS))
23
24 HOST_CONFIGURE_ARGS += \
25 --enable-install-program=date
26
27 HOST_MAKE_FLAGS += \
28 PROGRAMS="$(BUILD_BINS)" \
29 LIBRARIES= MANS= SUBDIRS=.
30
31 define Host/Install
32 $(INSTALL_DIR) $(1)/bin
33 $(CP) $(patsubst %,$(HOST_BUILD_DIR)/%,$(BUILD_BINS)) $(1)/bin/
34 endef
35
36 $(eval $(call HostBuild))