Makefile 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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. # 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. # alternatively use a pre-defined set of mirrors, see mk/mirrors.mk:
  16. #PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sub/path/}
  17. # if more than one binary package is created, add symbol names of all here
  18. # leave variable empty, when no binary package is created. You can set it
  19. # to override PKG_NAME for the main binary package
  20. #PKG_SUBPKGS:= PKG SUBPKG1 SUBPKG2
  21. # you can add separate, build depends, run depends, section and description
  22. # build time dependency for subpackage SUBPKG1, package dir
  23. #PKGSB_SUBPKG1:=
  24. # runtime dependency for subpackage SUBPKG1, package names
  25. #PKGSS_SUBPKG1:=
  26. # section for subpackage SUBPKG1
  27. #PKGSC_SUBPKG1:=
  28. # description for subpackage SUBPKG1
  29. #PKGSD_SUBPKG1:=
  30. # define your flavours for your package here, WITH_SSL f.e.
  31. #PKG_FLAVOURS_PKGNAME:= WITH_SSL
  32. # flavour description
  33. #PKGFD_WITH_SSL:= enable SSL support
  34. # flavour runtime dependency, package name
  35. #PKGFS_WITH_SSL:= libopenssl
  36. # flavour build time dependency, package dir
  37. #PKGFB_WITH_SSL:= openssl
  38. # define your choices for your package here, f.e. different SSL implementations
  39. #PKG_CHOICES_PKGNAME:= WITH_OPENSSL WITH_GNUTLS
  40. # package description for each choice
  41. #PKGCD_WITH_OPENSSL:= SSL support via OpenSSL library
  42. #PKGCD_WITH_GNUTLS:= SSL support via GNUTLS library
  43. # package build time dependencies
  44. #PKGCB_WITH_OPENSSL:= openssl
  45. #PKGCB_WITH_GNUTLS:= gnutls
  46. # package runtime dependencies
  47. #PKGCS_WITH_OPENSSL:= libopenssl
  48. #PKGCS_WITH_GNUTLS:= libgnutls
  49. # if downloaded package is not ending with .tar.xz use following
  50. #DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  51. include $(ADK_TOPDIR)/mk/package.mk
  52. $(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  53. #CONFIG_STYLE:= manual
  54. # use following to add ./configure options
  55. #CONFIGURE_ARGS+= --disable-foo
  56. # overwrite any configure variables
  57. #CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
  58. #BUILD_STYLE:= manual
  59. #INSTALL_STYLE:= manual
  60. # please install all files and directories to the package dir
  61. @PKG@-install:
  62. $(INSTALL_DIR) $(IDIR_@UPKG@)/usr/bin
  63. $(INSTALL_BIN) $(WRKINST)/usr/bin/@PKG@ \
  64. $(IDIR_@UPKG@)/usr/bin
  65. # please remove ALL above comments, before commiting
  66. include ${ADK_TOPDIR}/mk/pkg-bottom.mk