summaryrefslogtreecommitdiff
path: root/package/.template/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-07 20:03:20 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-07 20:03:20 +0100
commit6daa792eab1488d013fefc5eb7e4d01f40f38687 (patch)
tree6391cc46bb9fc8b859d99175ea317e5fa7b37959 /package/.template/Makefile
parentadcaca72539b2ff4a5f4deee00d5f0251378ac9b (diff)
change defaults for CONFIG/BUILD/INSTALL styles
All packages need an update, so here is a very huge commit. Most of the 460 source packages use automatic style for configuration, building and installing. Make these styles default to "auto". If you have a package, which does not conform to this, just use manual style and add a do-$task make target. I added a new style named AUTOTOOL style, which is needed for some broken packages, which needs to be updated via autoconf or automake. I renamed CONFIGURE_STYLE to CONFIG_STYLE. Updates for some packages, which have newer upstream versions. Renaming of all package/*/extra directories. Use the directory src/ to provide overwrites of source files or to add the code, when no upstream package is available or used. src directory will be automatically used.
Diffstat (limited to 'package/.template/Makefile')
-rw-r--r--package/.template/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/package/.template/Makefile b/package/.template/Makefile
index 32c24923c..977e4aede 100644
--- a/package/.template/Makefile
+++ b/package/.template/Makefile
@@ -6,12 +6,13 @@ include $(TOPDIR)/rules.mk
PKG_NAME:= @PKG@
PKG_VERSION:= @VER@
PKG_RELEASE:= 1
-PKG_MD5SUM:= @add md5sum of package here@
-PKG_DESCR:= @add short description@
-PKG_SECTION:= @add section@
-PKG_DEPENDS:= @add dependendant package names@
-PKG_URL:= @add project url@
-PKG_SITES:= @add download url without package name@
+PKG_MD5SUM:= add md5sum of package here
+PKG_DESCR:= add short description
+PKG_SECTION:= add section
+PKG_DEPENDS:= add dependendant package names
+PKG_BUILDDEP+= add packages which need to be compiled
+PKG_URL:= add project url
+PKG_SITES:= add download url without package name
# if downloaded package is not ending with .tar.gz use following
#DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
@@ -20,13 +21,13 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,@UPKG@,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE:= gnu
+#CONFIG_STYLE:= manual
# use following to add ./configure options
#CONFIGURE_ARGS+= --disable-foo
# overwrite any configure variables
#CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes
-BUILD_STYLE:= auto
-INSTALL_STYLE:= auto
+#BUILD_STYLE:= manual
+#INSTALL_STYLE:= manual
# please install all files and directories to the package dir
post-install:
@@ -34,4 +35,5 @@ post-install:
$(INSTALL_BIN) $(WRKINST)/usr/bin/@PKG@ \
$(IDIR_@UPKG@)/usr/bin
+# please remove ALL above comments, before commiting
include ${TOPDIR}/mk/pkg-bottom.mk