annotate src/librsb.mk @ 4959:506a61f959e4

Update ghostscript to 9.26. * src/ghostscript.mk: Update version, checksum and dependencies. Update build rule. * src/ghostscript-1-fixes.patch: Add new file. * src/ghostscrip-mingw-[i686,x86_64]-[arch.h,gconfig_.h,makefile]: Remove files. * src/build-automake.mk: Update to version 1.16.1. * src/build-automake-1-perl-5.patch: Remove file. * src/libidn.mk: Update to version 1.35. * src/glpk.mk: Skip autoconf steps.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 16 Feb 2019 16:03:02 +0100
parents 58c55baead8f
children bdce378eb493
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE.
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2 # See index.html for further information.
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 PKG := librsb
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_IGNORE :=
4397
7619117e7a73 librsb: update to 1.2.0-rc7
John D
parents: 4372
diff changeset
6 $(PKG)_VERSION := 1.2.0-rc7
7619117e7a73 librsb: update to 1.2.0-rc7
John D
parents: 4372
diff changeset
7 $(PKG)_CHECKSUM := 66f66c74597228dfd7a3ba8215ad36a17b31f43b
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$($(PKG)_FILE)
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 $(PKG)_DEPS := libgomp
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 define $(PKG)_UPDATE
4539
58c55baead8f maint: more PKG_UPDATE updates
John D
parents: 4397
diff changeset
14 $(WGET) -q -O- 'https://sourceforge.net/projects/librsb/files/' | \
58c55baead8f maint: more PKG_UPDATE updates
John D
parents: 4397
diff changeset
15 $(SED) -n 's|.*librsb-\([0-9\.]*[-rc0-9]*\)\.tar.gz\/download.*|\1|p' | \
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 head -1
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17 endef
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 define $(PKG)_BUILD
4959
506a61f959e4 Update ghostscript to 9.26.
Markus Mützel <markus.muetzel@gmx.de>
parents: 4539
diff changeset
20 cd '$(1)' && autoreconf -fi && ./configure \
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 --prefix='$(HOST_PREFIX)' \
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 $(ENABLE_SHARED_OR_STATIC) \
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25 --disable-c-examples --disable-fortran-examples \
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
26 --disable-sparse-blas-interface \
4185
b7c4178dadc4 sparsersb: update patch to latest from sparser repo, enable openmp
John D
parents: 4184
diff changeset
27 --disable-octave-testing
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
28 $(MAKE) -C '$(1)' -j '$(JOBS)'
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
29 $(MAKE) -C '$(1)' -j 1 install DESTDIR='$(3)'
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
30
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
31 if [ $(MXE_NATIVE_BUILD) = no ]; then \
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
32 $(INSTALL) -d '$(3)$(BUILD_TOOLS_PREFIX)/bin'; \
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
33 $(INSTALL) -m755 '$(3)$(HOST_BINDIR)/librsb-config' '$(3)$(BUILD_TOOLS_PREFIX)/bin/librsb-config'; \
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
34 fi
4303
eac52a8a7822 Disable more doc files
John D
parents: 4205
diff changeset
35
eac52a8a7822 Disable more doc files
John D
parents: 4205
diff changeset
36 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \
eac52a8a7822 Disable more doc files
John D
parents: 4205
diff changeset
37 rm -rf "$(3)$(HOST_PREFIX)/share/doc/$(PKG)"; \
eac52a8a7822 Disable more doc files
John D
parents: 4205
diff changeset
38 fi
4058
c7e31c07c915 of-sparsrb: add new package
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
39 endef