Add ed package (#607)
* Add ed package Fixes #606 * change ed url to main mirror
This commit is contained in:
parent
650d55cdca
commit
1d740dea04
5
packages/ed/build.sh
Normal file
5
packages/ed/build.sh
Normal 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
|
19
packages/ed/configure.patch
Normal file
19
packages/ed/configure.patch
Normal 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
|
Loading…
Reference in New Issue
Block a user