Mercurial > mxe-octave
view src/termcap.mk @ 2988:aca8511e7751
qt.mk: link to correct files in bin directory
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 16 May 2013 13:32:57 -0400 |
parents | 1122ae1e98b6 |
children | 4f9b72cf7ee7 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := termcap $(PKG)_IGNORE := $(PKG)_CHECKSUM := 42dd1e6beee04f336c884f96314f0c96cc2578be $(PKG)_SUBDIR := termcap-$($(PKG)_VERSION) $(PKG)_FILE := termcap-$($(PKG)_VERSION).tar.gz $(PKG)_URL := ftp://ftp.gnu.org/gnu/termcap/$($(PKG)_FILE) $(PKG)_DEPS := gcc define $(PKG)_UPDATE echo 'Warning: Updates are temporarily disabled for package termcap.' >&2; echo $(termcap_VERSION) endef define $(PKG)_BUILD cd '$(1)' && autoreconf cd '$(1)' && ./configure \ --host='$(TARGET)' \ --prefix='$(PREFIX)/$(TARGET)' \ AR=$(TARGET)-ar $(MAKE) AR=$(TARGET)-ar -C '$(1)' -j '$(JOBS)' install if [ "$(BUILD_SHARED)" = yes ]; then \ $(MAKE_SHARED_FROM_STATIC) --ar '$(TARGET)-ar' --ld '$(TARGET)-gcc' '$(PREFIX)/$(TARGET)/lib/libtermcap.a'; \ $(INSTALL) -d '$(PREFIX)/$(TARGET)/bin/'; \ $(INSTALL) -m755 '$(PREFIX)/$(TARGET)/lib/libtermcap.dll.a' '$(PREFIX)/$(TARGET)/lib/libtermcap.dll.a'; \ $(INSTALL) -m755 '$(PREFIX)/$(TARGET)/lib/libtermcap.dll' '$(PREFIX)/$(TARGET)/bin/libtermcap.dll'; \ rm -f '$(PREFIX)/$(TARGET)/lib/libtermcap.dll'; \ fi endef