automake: import upstream fix for perl 5.26
[openwrt/openwrt.git] / tools / kernel2minor / Makefile
1 #
2 # Copyright (C) 2016 adron@yapic.net
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:=kernel2minor
10 PKG_VERSION:=0.24
11 PKG_RELEASE:=3
12
13 PKG_SOURCE_URL:=https://github.com/adron-s/kernel2minor.git
14 PKG_SOURCE_PROTO:=git
15 PKG_SOURCE_VERSION:=2cacb4dec6673a60a972a3a7f7629464a26a8492
16 PKG_HASH:=33ca413403a3341af0c9a8e6d9bb58f4ad080a5339e8a8729b83637d35bfaf1b
17
18 include $(INCLUDE_DIR)/host-build.mk
19
20 define Host/Install
21 $(INSTALL_BIN) $(HOST_BUILD_DIR)/kernel2minor $(STAGING_DIR_HOST)/bin/
22 endef
23
24 define Host/Clean
25 rm -f $(STAGING_DIR_HOST)/bin/kernel2minor
26 endef
27
28 $(eval $(call HostBuild))