Makefile 948 B

1234567891011121314151617181920212223242526272829
  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 $(ADK_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:= add section
  10. PKG_DEPENDS:= add dependendant package names
  11. PKG_BUILDDEP:= add packages which need to be compiled
  12. PKG_URL:= add project url
  13. PKG_SITES:= add download url without package name
  14. # if downloaded package is not ending with .tar.xz use following
  15. #DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(ADK_TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. @PKG@-install:
  19. $(INSTALL_DIR) $(IDIR_@UPKG@)/usr/bin
  20. $(INSTALL_BIN) $(WRKINST)/usr/bin/@PKG@ \
  21. $(IDIR_@UPKG@)/usr/bin
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk