binfmt: add riscv32 for ELF PIE on noMMU
[openadk.git] / package / .templatelib / Makefile
blob0ba543c8372014a52484edde13d3fe75d5a14f11
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:= @PKG@
7 PKG_VERSION:= @VER@
8 PKG_RELEASE:= 1
9 PKG_HASH:= add sha256 checksum of package here
10 PKG_DESCR:= add short description
11 PKG_SECTION:= libs/misc
12 PKG_URL:= add project url
13 PKG_SITES:= add download url without package name
14 PKG_OPTS:= dev
16 # if downloaded package is not ending with .tar.xz use following
17 #DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
23 @PKG@-install:
24 $(INSTALL_DIR) $(IDIR_@UPKG@)/usr/lib
25 $(CP) $(WRKINST)/usr/lib/lib@PKG@*.so* \
26 $(IDIR_@UPKG@)/usr/lib
28 include $(ADK_TOPDIR)/mk/pkg-bottom.mk