summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/Makefile1
-rw-r--r--package/gawk/Config.in6
-rw-r--r--package/gawk/Makefile28
-rw-r--r--package/gcc/Makefile1
5 files changed, 37 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index f724af03a..8507fef02 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -75,6 +75,7 @@ source "package/bzip2/Config.in"
source "package/collectd/Config.in"
source "package/deco/Config.in"
source "package/digitemp/Config.in"
+source "package/gawk/Config.in"
source "package/gpm/Config.in"
source "package/gpsd/Config.in"
source "package/logrotate/Config.in"
diff --git a/package/Makefile b/package/Makefile
index 66286e1af..85768df9e 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -103,6 +103,7 @@ package-$(ADK_COMPILE_FREETYPE) += freetype
package-$(ADK_PACKAGE_FRICKIN) += frickin
package-$(ADK_COMPILE_FUSE) += fuse
package-$(ADK_PACKAGE_GATLING) += gatling
+package-$(ADK_PACKAGE_GAWK) += gawk
package-$(ADK_PACKAGE_GCC) += gcc
package-$(ADK_PACKAGE_GDB) += gdb
package-$(ADK_PACKAGE_GDBSERVER) += gdbserver
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
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 28bea06bf..c348c9b4b 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -46,6 +46,7 @@ ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
else
${CP} ${STAGING_DIR}/usr/lib/crt* ${IDIR_GCC}/usr/lib
endif
+ rm ${IDIR_GCC}/usr/lib/gcc/*/*/crtendS.o
rm -rf ${IDIR_GCC}/usr/lib/gcc/*/*/include-fixed
rm -rf ${IDIR_GCC}/usr/lib/gcc/*/*/install-tools