update lua to latest stable version
[openadk.git] / package / .template / Makefile
blobf60be74bb5816fd41192fd0882eb3465b0e9bb1a
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 # always use tab spaces as separator, no spaces
7 PKG_NAME:= @PKG@
8 PKG_VERSION:= @VER@
9 PKG_RELEASE:= 1
10 PKG_HASH:= add sha256 checksum of package here
11 PKG_DESCR:= add short description
12 PKG_SECTION:= add section
13 PKG_DEPENDS:= add dependendant package names
14 PKG_BUILDDEP:= add packages which need to be compiled
15 PKG_URL:= add project url
16 PKG_SITES:= add download url without package name
17 # alternatively use a pre-defined set of mirrors, see mk/mirrors.mk:
18 #PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=sub/path/)
20 # if more than one binary package is created, add symbol names of all here
21 # leave variable empty, when no binary package is created. You can set it
22 # to override PKG_NAME for the main binary package
23 #PKG_SUBPKGS:= PKG SUBPKG1 SUBPKG2
24 # you can add separate, build depends, run depends, section and description
25 # build time dependency for subpackage SUBPKG1, package dir
26 #PKGSB_SUBPKG1:=
27 # runtime dependency for subpackage SUBPKG1, package names
28 #PKGSS_SUBPKG1:=
29 # section for subpackage SUBPKG1
30 #PKGSC_SUBPKG1:=
31 # description for subpackage SUBPKG1
32 #PKGSD_SUBPKG1:=
34 # define your flavours for your package here, WITH_SSL f.e.
35 #PKG_FLAVOURS_PKGNAME:= WITH_SSL
36 # flavour description
37 #PKGFD_WITH_SSL:= enable SSL support
38 # flavour runtime dependency, package name
39 #PKGFS_WITH_SSL:= libopenssl
40 # flavour build time dependency, package dir
41 #PKGFB_WITH_SSL:= openssl
43 # define your choices for your package here, f.e. different SSL implementations
44 #PKG_CHOICES_PKGNAME:= WITH_OPENSSL WITH_GNUTLS
45 # package description for each choice
46 #PKGCD_WITH_OPENSSL:= SSL support via OpenSSL library
47 #PKGCD_WITH_GNUTLS:= SSL support via GNUTLS library
48 # package build time dependencies
49 #PKGCB_WITH_OPENSSL:= openssl
50 #PKGCB_WITH_GNUTLS:= gnutls
51 # package runtime dependencies
52 #PKGCS_WITH_OPENSSL:= libopenssl
53 #PKGCS_WITH_GNUTLS:= libgnutls
55 # if downloaded package is not ending with .tar.xz use following
56 #DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.bz2
58 include $(ADK_TOPDIR)/mk/package.mk
60 $(eval $(call PKG_template,@UPKG@,@PKG@,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
62 #CONFIG_STYLE:= manual
63 # use following to add ./configure options
64 #CONFIGURE_ARGS+= --disable-foo
65 # overwrite any configure variables
66 #CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
67 #BUILD_STYLE:= manual
68 #INSTALL_STYLE:= manual
70 # please install all files and directories to the package dir
71 @PKG@-install:
72 $(INSTALL_DIR) $(IDIR_@UPKG@)/usr/bin
73 $(INSTALL_BIN) $(WRKINST)/usr/bin/@PKG@ \
74 $(IDIR_@UPKG@)/usr/bin
76 # please remove ALL above comments, before commiting
77 include $(ADK_TOPDIR)/mk/pkg-bottom.mk