new package: most
Requested in https://github.com/termux/termux-packages/issues/4539.
This commit is contained in:
parent
cab1a69105
commit
ab807f1a2e
21
packages/most/Makefile.in.patch
Normal file
21
packages/most/Makefile.in.patch
Normal file
@ -0,0 +1,21 @@
|
||||
diff -uNr most-5.1.0/src/Makefile.in most-5.1.0.mod/src/Makefile.in
|
||||
--- most-5.1.0/src/Makefile.in 2018-10-29 09:55:02.000000000 +0200
|
||||
+++ most-5.1.0.mod/src/Makefile.in 2020-01-01 20:35:56.916778816 +0200
|
||||
@@ -52,7 +52,7 @@
|
||||
COMPILE_CMD = $(CC) -c $(ALL_CFLAGS) -DMOST_SYSTEM_INITFILE='"$(SYS_INITFILE)"'
|
||||
#
|
||||
all: $(EXEC)
|
||||
-$(EXEC): $(OBJDIR) $(CONFIG_H) slangversion $(OBJDIR)/$(EXEC)
|
||||
+$(EXEC): $(OBJDIR) $(CONFIG_H) $(OBJDIR)/$(EXEC)
|
||||
@echo $(EXEC) created in $(OBJDIR)
|
||||
$(OBJDIR)/$(EXEC): $(OBJS)
|
||||
cd $(OBJDIR); $(CC) $(OFILES) -o $(EXEC) $(LDFLAGS) $(EXECLIBS)
|
||||
@@ -83,7 +83,7 @@
|
||||
$(MKINSDIR) $(DEST_MANDIR)/man1
|
||||
$(MKINSDIR) $(DEST_BINDIR)
|
||||
install: all installdirs
|
||||
- $(INSTALL) -s $(OBJDIR)/most $(DEST_BINDIR)
|
||||
+ $(INSTALL) $(OBJDIR)/most $(DEST_BINDIR)
|
||||
$(INSTALL_DATA) ../doc/most.1 $(DEST_MANDIR)/man1
|
||||
@for i in $(DOC_FILES); \
|
||||
do \
|
8
packages/most/build.sh
Normal file
8
packages/most/build.sh
Normal file
@ -0,0 +1,8 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://www.jedsoft.org/most/index.html
|
||||
TERMUX_PKG_DESCRIPTION="A terminal pager similar to 'more' and 'less'"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_VERSION=5.1.0
|
||||
TERMUX_PKG_SRCURL=https://www.jedsoft.org/releases/most/most-$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=db805d1ffad3e85890802061ac8c90e3c89e25afb184a794e03715a3ed190501
|
||||
TERMUX_PKG_DEPENDS="slang"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
Loading…
Reference in New Issue
Block a user