Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  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:= 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.gz use following
  15. #DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  16. include $(TOPDIR)/mk/package.mk
  17. $(eval $(call PKG_template,@UPKG@,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. #CONFIG_STYLE:= manual
  19. # use following to add ./configure options
  20. #CONFIGURE_ARGS+= --disable-foo
  21. # overwrite any configure variables
  22. #CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  23. #BUILD_STYLE:= manual
  24. #INSTALL_STYLE:= manual
  25. # please install all files and directories to the package dir
  26. post-install:
  27. $(INSTALL_DIR) $(IDIR_@UPKG@)/usr/bin
  28. $(INSTALL_BIN) $(WRKINST)/usr/bin/@PKG@ \
  29. $(IDIR_@UPKG@)/usr/bin
  30. # please remove ALL above comments, before commiting
  31. include ${TOPDIR}/mk/pkg-bottom.mk