Add ed package (#607)

* Add ed package

Fixes #606

* change ed url to main mirror
This commit is contained in:
Oliver Schmidhauser 2016-12-23 08:59:56 +01:00 committed by Fredrik Fornwall
parent 650d55cdca
commit 1d740dea04
2 changed files with 24 additions and 0 deletions

5
packages/ed/build.sh Normal file
View File

@ -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

View File

@ -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