mpd: update to 0.20.13
[openadk.git] / package / kernel2minor / Makefile
blobe7ace1d6151f2c8446d8da5f5250636d4aa6b082
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= kernel2minor
7 PKG_VERSION:= 2cacb4dec6673a60a972a3a7f7629464a26a8492
8 PKG_RELEASE:= 1
9 PKG_GIT:= hash
10 PKG_DESCR:= kernel to Mikrotik NOR
11 PKG_SECTION:= sys/fs
12 PKG_URL:= https://github.com/adron-s/kernel2minor
13 PKG_SITES:= https://github.com/adron-s/kernel2minor.git
15 include $(ADK_TOPDIR)/mk/host.mk
16 include $(ADK_TOPDIR)/mk/package.mk
18 $(eval $(call HOST_template,KERNEL2MINOR,kernel2minor,$(PKG_VERSION)-$(PKG_RELEASE)))
19 $(eval $(call PKG_template,KERNEL2MINOR,kernel2minor,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
21 HOST_STYLE:= auto
22 HOST_CONFIG_STYLE:= manual
23 HOST_INSTALL_STYLE:= manual
25 kernel2minor-hostinstall:
26 $(INSTALL_DIR) $(STAGING_HOST_DIR)/usr/sbin
27 $(INSTALL_BIN) $(WRKBUILD)/kernel2minor $(STAGING_HOST_DIR)/usr/sbin
29 CONFIG_STYLE:= manual
30 INSTALL_STYLE:= manual
32 kernel2minor-install:
33 $(INSTALL_DIR) $(IDIR_KERNEL2MINOR)/usr/sbin
34 $(INSTALL_BIN) $(WRKBUILD)/kernel2minor \
35 $(IDIR_KERNEL2MINOR)/usr/sbin
37 include ${ADK_TOPDIR}/mk/host-bottom.mk
38 include $(ADK_TOPDIR)/mk/pkg-bottom.mk