Mercurial > mxe-octave
view src/apr.mk @ 3557:b1a7cff2d2a9
Add octave forge of-netcdf package (and support files)
* src/of-netcdf.mk: New file.
* src/netcdf.mk: Update checksum for version 4.3.0, install to DESTDIR.
* src/hdf5.mk: make make and make install separate, modify libtool script to enable dynamic build of all sub libraries.
* index.html: added of-netcdf
* dist-files.mk: add of-netcdf.mk
* Makefile.in: add of-netcdf
* build_packages.m: add install of netcdf-1.0.2.tar.gz
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 06 Mar 2014 18:34:21 -0500 |
parents | 13be64f9f16d |
children |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := apr $(PKG)_IGNORE := 1.4.6 $(PKG)_VERSION := 1.4.2 $(PKG)_CHECKSUM := d48324efb0280749a5d7ccbb053d68545c568b4b $(PKG)_SUBDIR := apr-$($(PKG)_VERSION) $(PKG)_FILE := apr-$($(PKG)_VERSION).tar.gz $(PKG)_URL := http://mirror.apache-kr.org/apr/$($(PKG)_FILE) $(PKG)_URL_2 := http://archive.apache.org/dist/apr/$($(PKG)_FILE) $(PKG)_DEPS := define $(PKG)_UPDATE $(WGET) -q -O- 'http://apr.apache.org/download.cgi' | \ grep 'apr1.*best' | $(SED) -n 's,.*APR \([0-9.]*\).*,\1,p' endef define $(PKG)_BUILD cd '$(1)' && ./configure \ --prefix='$(HOST_PREFIX)' \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ $(ENABLE_SHARED_OR_STATIC) \ ac_cv_sizeof_off_t=4 \ ac_cv_sizeof_pid_t=4 \ ac_cv_sizeof_size_t=4 \ ac_cv_sizeof_ssize_t=4 \ CFLAGS=-D_WIN32_WINNT=0x0500 $(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS= man_MANS= $(LN_SF) '$(HOST_BINDIR)/apr-1-config' '$(BUILD_TOOLS_PREFIX)/bin/$(MXE_TOOL_PREFIX)apr-1-config' endef