Mercurial > mxe-octave
annotate src/mpc.mk @ 4740:9942a9c37ffe
remove octave 'alpha' package
* octave-1-gnulib.patch, octave.mk: Delete.
* dist-files.mk: Update.
* index.html: Delete entry for octave.
* configure.ac: Don't handle 'alpha' in --enable-octave=VERSION option.
(AC_CONFIG_SRCDIR): Look for src/default-octave.mk instead of
src/octave.mk.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 26 Jun 2018 13:22:51 -0400 |
parents | 2299b6639060 |
children | 3a4b30ff1446 |
rev | line source |
---|---|
3503
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
1 # This file is part of MXE. |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
2 # See index.html for further information. |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
3 |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
4 PKG := mpc |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
6 $(PKG)_VERSION := 1.0.2 |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
7 $(PKG)_CHECKSUM := 5072d82ab50ec36cc8c0e320b5c377adb48abe70 |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := mpc-$($(PKG)_VERSION) |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
9 $(PKG)_FILE := mpc-$($(PKG)_VERSION).tar.gz |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
10 $(PKG)_URL := http://www.multiprecision.org/mpc/download/$($(PKG)_FILE) |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
11 $(PKG)_URL_2 := http://ftp.debian.org/debian/pool/main/m/mpclib/mpclib_$($(PKG)_VERSION).orig.tar.gz |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
12 $(PKG)_DEPS := build-gcc gmp mpfr |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
13 |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
14 define $(PKG)_UPDATE |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
15 $(WGET) -q -O- 'https://gforge.inria.fr/scm/viewvc.php/tags/?root=mpc&sortby=date' | \ |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
16 $(SED) -n 's,.*<a name="\([0-9][^"]*\)".*,\1,p' | \ |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
17 head -1 |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
18 endef |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
19 |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
21 cd '$(1)' && ./configure \ |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
22 --host='$(TARGET)' \ |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
24 --prefix='$(HOST_PREFIX)' \ |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
25 --with-gmp='$(HOST_PREFIX)/' \ |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
26 --with-mpfr='$(HOST_PREFIX)/' |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
27 $(MAKE) -C '$(1)' -j '$(JOBS)' |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
28 $(MAKE) -C '$(1)' -j '$(JOBS)' install |
2299b6639060
add src/mpc.mk file missing from previous changeset
John W. Eaton <jwe@octave.org>
parents:
diff
changeset
|
29 endef |