uClibc-ng: update to 1.0.51
[openadk.git] / package / kexec-tools / Makefile
blob3e7d88f805166633342dfd476cac998cda08a0ec
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:= kexec-tools
7 PKG_VERSION:= 2.0.23
8 PKG_RELEASE:= 2
9 PKG_HASH:= aa63cd6c7dd95b06ceba6240a7fdc6792789cada75a655e6714987175224241b
10 PKG_DESCR:= kernel exec tools
11 PKG_SECTION:= sys/misc
12 PKG_DEPENDS:= zlib
13 PKG_BUILDEP:= zlib
14 PKG_KDEPENDS:= kexec
15 PKG_URL:= http://kernel.org/pub/linux/utils/kernel/kexec/
16 PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/kernel/kexec/}
18 include $(ADK_TOPDIR)/mk/package.mk
20 $(eval $(call PKG_template,KEXEC_TOOLS,kexec-tools,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
22 kexec-tools-install:
23 $(INSTALL_DIR) $(IDIR_KEXEC_TOOLS)/usr/sbin
24 $(INSTALL_BIN) $(WRKINST)/usr/sbin/kexec \
25 $(IDIR_KEXEC_TOOLS)/usr/sbin
26 $(INSTALL_BIN) ./files/kreboot $(IDIR_KEXEC_TOOLS)/usr/sbin
28 include ${ADK_TOPDIR}/mk/pkg-bottom.mk