Makefile 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. # always use tab spaces as separator, no spaces
  5. PKG_NAME:= @PKG@
  6. PKG_VERSION:= @VER@
  7. PKG_RELEASE:= 1
  8. PKG_MD5SUM:= add md5sum of package here
  9. PKG_DESCR:= add short description
  10. PKG_SECTION:= add section
  11. PKG_DEPENDS:= add dependendant package names
  12. PKG_BUILDDEP:= add packages which need to be compiled
  13. PKG_URL:= add project url
  14. PKG_SITES:= add download url without package name
  15. # if more than one binary package is created, add symbol names of all here
  16. # leave variable empty, when no binary package is created. You can set it
  17. # to override PKG_NAME for the main binary package
  18. #PKG_SUBPKGS:= PKG SUBPKG1 SUBPKG2
  19. # you can add separate, build depends, run depends, section and description
  20. # build time dependency for subpackage SUBPKG1, package dir
  21. #PKGSB_SUBPKG1:=
  22. # runtime dependency for subpackage SUBPKG1, package names
  23. #PKGSS_SUBPKG1:=
  24. # section for subpackage SUBPKG1
  25. #PKGSC_SUBPKG1:=
  26. # description for subpackage SUBPKG1
  27. #PKGSD_SUBPKG1:=
  28. # define your flavours for your package here, WITH_SSL f.e.
  29. #PKG_FLAVOURS:= WITH_SSL
  30. # flavour description
  31. #PKGFD_WITH_SSL:= enable SSL support
  32. # flavour runtime dependency, package name
  33. #PKGFS_WITH_SSL:= libopenssl
  34. # flavour build time dependency, package dir
  35. #PKGFB_WITH_SSL:= openssl
  36. # define your choices for your package here, f.e. different SSL implementations
  37. #PKG_CHOICES:= WITH_OPENSSL WITH_GNUTLS
  38. # package description for each choice
  39. #PKGCD_WITH_OPENSSL:= SSL support via OpenSSL library
  40. #PKGCD_WITH_GNUTLS:= SSL support via GNUTLS library
  41. # package build time dependencies
  42. #PKGCB_WITH_OPENSSL:= openssl
  43. #PKGCB_WITH_GNUTLS:= gnutls
  44. # package runtime dependencies
  45. #PKGCS_WITH_OPENSSL:= libopenssl
  46. #PKGCS_WITH_GNUTLS:= libgnutls
  47. # if downloaded package is not ending with .tar.gz use following
  48. #DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  49. include $(TOPDIR)/mk/package.mk
  50. $(eval $(call PKG_template,@UPKG@,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  51. #CONFIG_STYLE:= manual
  52. # use following to add ./configure options
  53. #CONFIGURE_ARGS+= --disable-foo
  54. # overwrite any configure variables
  55. #CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  56. #BUILD_STYLE:= manual
  57. #INSTALL_STYLE:= manual
  58. # please install all files and directories to the package dir
  59. post-install:
  60. $(INSTALL_DIR) $(IDIR_@UPKG@)/usr/bin
  61. $(INSTALL_BIN) $(WRKINST)/usr/bin/@PKG@ \
  62. $(IDIR_@UPKG@)/usr/bin
  63. # please remove ALL above comments, before commiting
  64. include ${TOPDIR}/mk/pkg-bottom.mk