parent
ead0d7e527
commit
3e43ec294f
@ -0,0 +1,30 @@
|
|||||||
|
# Readline
|
||||||
|
|
||||||
|
PKG := readline
|
||||||
|
$(PKG)_VERSION := 6.0
|
||||||
|
$(PKG)_CHECKSUM := 1e511b091514ef631c539552316787c75ace5262
|
||||||
|
$(PKG)_SUBDIR := readline-$($(PKG)_VERSION)
|
||||||
|
$(PKG)_FILE := readline-$($(PKG)_VERSION).tar.gz
|
||||||
|
$(PKG)_WEBSITE := http://tiswww.case.edu/php/chet/readline/rltop.html
|
||||||
|
$(PKG)_URL := http://ftp.gnu.org/gnu/readline/$($(PKG)_FILE)
|
||||||
|
$(PKG)_DEPS := gcc pdcurses
|
||||||
|
|
||||||
|
define $(PKG)_UPDATE
|
||||||
|
wget -q -O- 'http://tiswww.case.edu/php/chet/readline/rltop.html' | \
|
||||||
|
grep 'readline-' | \
|
||||||
|
$(SED) -n 's,.*readline-\([0-9][^>]*\)\.tar.*,\1,p' | \
|
||||||
|
head -1
|
||||||
|
endef
|
||||||
|
|
||||||
|
define $(PKG)_BUILD
|
||||||
|
$(SED) 's,^ *case SIGQUIT:.*,,' -i '$(1)/signals.c'
|
||||||
|
$(SED) 's,^ *case SIGTSTP:.*,,' -i '$(1)/signals.c'
|
||||||
|
cd '$(1)' && ./configure \
|
||||||
|
--host='$(TARGET)' \
|
||||||
|
--disable-shared \
|
||||||
|
--prefix='$(PREFIX)/$(TARGET)' \
|
||||||
|
--without-purify \
|
||||||
|
--with-curses \
|
||||||
|
LIBS='-lpdcurses'
|
||||||
|
$(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
|
||||||
|
endef
|
Loading…
Reference in new issue