Add ed package (#607)
authorOliver Schmidhauser <oli@glow.li>
Fri, 23 Dec 2016 07:59:56 +0000 (08:59 +0100)
committerFredrik Fornwall <fredrik@fornwall.net>
Fri, 23 Dec 2016 07:59:56 +0000 (08:59 +0100)
* Add ed package

Fixes #606

* change ed url to main mirror

packages/ed/build.sh [new file with mode: 0644]
packages/ed/configure.patch [new file with mode: 0644]

diff --git a/packages/ed/build.sh b/packages/ed/build.sh
new file mode 100644 (file)
index 0000000..83b6451
--- /dev/null
@@ -0,0 +1,5 @@
+TERMUX_PKG_HOMEPAGE=https://www.gnu.org/software/ed/
+TERMUX_PKG_DESCRIPTION="Ed is a line-oriented text editor. It is used to create, display, modify and otherwise manipulate text files, both interactively and via shell scripts. "
+TERMUX_PKG_VERSION=1.13
+TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
+TERMUX_PKG_SRCURL=http://ftp.gnu.org/gnu/ed/ed-${TERMUX_PKG_VERSION}.tar.lz
diff --git a/packages/ed/configure.patch b/packages/ed/configure.patch
new file mode 100644 (file)
index 0000000..6771033
--- /dev/null
@@ -0,0 +1,19 @@
+diff --git a/configure b/configure
+index 50f3cad..31256c2 100755
+--- a/configure
++++ b/configure
+@@ -21,10 +21,10 @@ datarootdir='$(prefix)/share'
+ infodir='$(datarootdir)/info'
+ mandir='$(datarootdir)/man'
+ program_prefix=
+-CC=gcc
+-CPPFLAGS=
+-CFLAGS='-Wall -W -O2'
+-LDFLAGS=
++CC?=gcc
++CPPFLAGS?=
++CFLAGS?='-Wall -W -O2'
++LDFLAGS?=
+ # checking whether we are using GNU C.
+ ${CC} --version > /dev/null 2>&1