Mercurial > mxe-octave
view src/sqlite.mk @ 4680:7471ffc18c61
build-perl, perl: build shared libperl
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 20 Apr 2018 17:33:02 -0400 |
parents | 2472723fc655 |
children | 4cea16af20b4 |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := sqlite $(PKG)_IGNORE := $(PKG)_VERSION := 3220000 $(PKG)_CHECKSUM := 2fb24ec12001926d5209d2da90d252b9825366ac $(PKG)_SUBDIR := $(PKG)-autoconf-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-autoconf-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://www.sqlite.org/2017/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://www.sqlite.org/download.html' | \ $(SED) -n 's,.*sqlite-autoconf-\([0-9][^>]*\)\.tar.*,\1,p' | \ head -1 endef define $(PKG)_BUILD $(SED) -i 's/^Cflags/#Cflags/;' '$(1)/sqlite3.pc.in' cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ --prefix='$(HOST_PREFIX)' \ --disable-readline \ --disable-threadsafe $(MAKE) -C '$(1)' -j 1 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)' endef