Makefile 852 B

12345678910111213141516171819202122232425262728
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= @PKG@
  5. PKG_VERSION:= @VER@
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= add md5sum of package here
  8. PKG_DESCR:= add short description
  9. PKG_SECTION:= libs
  10. PKG_URL:= add project url
  11. PKG_SITES:= add download url without package name
  12. PKG_OPTS:= dev
  13. # if downloaded package is not ending with .tar.xz use following
  14. #DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. @PKG@-install:
  18. $(INSTALL_DIR) $(IDIR_@UPKG@)/usr/lib
  19. $(CP) $(WRKINST)/usr/lib/@PKG@*.so* \
  20. $(IDIR_@UPKG@)/usr/lib
  21. include ${TOPDIR}/mk/pkg-bottom.mk