Browse Source

Add ed package (#607)

* Add ed package

Fixes #606

* change ed url to main mirror
android-5
Oliver Schmidhauser 8 years ago
committed by Fredrik Fornwall
parent
commit
1d740dea04
  1. 5
      packages/ed/build.sh
  2. 19
      packages/ed/configure.patch

5
packages/ed/build.sh

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

19
packages/ed/configure.patch

@ -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
Loading…
Cancel
Save