summaryrefslogtreecommitdiff
path: root/package/gawk
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-24 21:46:04 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-24 21:46:04 +0200
commit03cd5dffd5f121c952016a5510736922f6283f6b (patch)
treeae8fedf86f4daf529a0f42c81047d9afa6b11432 /package/gawk
parente74eccf3fa0585abfbe52154646812d20f2560a2 (diff)
add gawk package
another openadk build package needed to compile openadk on an openadk target ;) Fix some minor glitches.
Diffstat (limited to 'package/gawk')
-rw-r--r--package/gawk/Config.in6
-rw-r--r--package/gawk/Makefile28
2 files changed, 34 insertions, 0 deletions
diff --git a/package/gawk/Config.in b/package/gawk/Config.in
new file mode 100644
index 000000000..2ef88947b
--- /dev/null
+++ b/package/gawk/Config.in
@@ -0,0 +1,6 @@
+config ADK_PACKAGE_GAWK
+ prompt "gawk.............................. GNU awk"
+ tristate
+ default n
+ help
+ http://www.gnu.org/software/gawk/
diff --git a/package/gawk/Makefile b/package/gawk/Makefile
new file mode 100644
index 000000000..e47aad514
--- /dev/null
+++ b/package/gawk/Makefile
@@ -0,0 +1,28 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= gawk
+PKG_VERSION:= 3.1.7
+PKG_RELEASE:= 1
+PKG_MD5SUM:= a38d5dec19320ace01f1d16c8beb1363
+PKG_DESCR:= GNU awk
+PKG_SECTION:= utils
+PKG_URL:= http://www.gnu.org/software/gawk/
+PKG_SITES:= ${MASTER_SITE_GNU:=gawk/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,GAWK,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIGURE_ARGS+= --disable-libsigsegv
+CONFIGURE_STYLE:= gnu
+BUILD_STYLE:= auto
+INSTALL_STYLE:= auto
+
+post-install:
+ ${INSTALL_DIR} ${IDIR_GAWK}/usr/bin
+ ${INSTALL_BIN} ${WRKINST}/usr/bin/gawk ${IDIR_GAWK}/usr/bin
+
+include ${TOPDIR}/mk/pkg-bottom.mk