odhcpd: Upstep to git HEAD version
[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.22
11 PKG_RELEASE:=1
12
13 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
14 PKG_SOURCE_URL:=https://github.com/adron-s/kernel2minor.git
15 PKG_SOURCE_PROTO:=git
16 PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
17 PKG_SOURCE_VERSION:=0587740de3e398dbe89d965334c492609cb9739d
18
19 HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
20
21 include $(INCLUDE_DIR)/host-build.mk
22
23 define Host/Install
24 $(INSTALL_BIN) $(HOST_BUILD_DIR)/kernel2minor $(STAGING_DIR_HOST)/bin/
25 endef
26
27 define Host/Clean
28 rm -f $(STAGING_DIR_HOST)/bin/kernel2minor
29 endef
30
31 $(eval $(call HostBuild))