Mercurial > mxe-octave
annotate src/build-perl.mk @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | 45e87a44955b |
children | ce4a135554f5 |
rev | line source |
---|---|
4667 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := build-perl | |
5 $(PKG)_IGNORE := | |
5374
45e87a44955b
* src/build-perl.mk: use release version 5.30.2
John Donoghue <john.donoghue@ieee.org>
parents:
5370
diff
changeset
|
6 $(PKG)_VERSION := 5.30.2 |
45e87a44955b
* src/build-perl.mk: use release version 5.30.2
John Donoghue <john.donoghue@ieee.org>
parents:
5370
diff
changeset
|
7 $(PKG)_CHECKSUM := e02a31cc8f536b4927d8e018d265cddb790bb4e2 |
4667 | 8 $(PKG)_SUBDIR := perl-$($(PKG)_VERSION) |
9 $(PKG)_FILE := perl-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := http://www.cpan.org/src/5.0/$($(PKG)_FILE) | |
4680
7471ffc18c61
build-perl, perl: build shared libperl
John W. Eaton <jwe@octave.org>
parents:
4672
diff
changeset
|
11 $(PKG)_DEPS := |
4667 | 12 |
4830
eeb5b98e87ee
build-perl: Do build shared libperl; also install it in $(HOST_LIBDIR).
John W. Eaton <jwe@octave.org>
parents:
4829
diff
changeset
|
13 ifeq ($(BUILD_SHARED),yes) |
eeb5b98e87ee
build-perl: Do build shared libperl; also install it in $(HOST_LIBDIR).
John W. Eaton <jwe@octave.org>
parents:
4829
diff
changeset
|
14 ## Without this, building libproxy fails. |
eeb5b98e87ee
build-perl: Do build shared libperl; also install it in $(HOST_LIBDIR).
John W. Eaton <jwe@octave.org>
parents:
4829
diff
changeset
|
15 $(PKG)_CONFIGURE_ARGS := -Duseshrplib |
eeb5b98e87ee
build-perl: Do build shared libperl; also install it in $(HOST_LIBDIR).
John W. Eaton <jwe@octave.org>
parents:
4829
diff
changeset
|
16 endif |
4667 | 17 |
5006 | 18 define $(PKG)_UPDATE |
19 $(WGET) -q -O- 'http://www.cpan.org/src/5.0' | \ | |
5370
c77e64d39aa2
* src/build-perl.mk: update to v5.31.10
John Donoghue <john.donoghue@ieee.org>
parents:
5006
diff
changeset
|
20 $(SED) -n 's,.*<a href="perl-\([0-9\.]*\)\.tar.gz".*,\1,p' | \ |
5006 | 21 $(SORT) -V | \ |
22 tail -1 | |
23 endef | |
24 | |
4667 | 25 ifeq ($(MXE_WINDOWS_BUILD),yes) |
26 define $(PKG)_BUILD | |
27 endef | |
28 else | |
29 define $(PKG)_BUILD | |
4680
7471ffc18c61
build-perl, perl: build shared libperl
John W. Eaton <jwe@octave.org>
parents:
4672
diff
changeset
|
30 cd '$(1)' \ |
7471ffc18c61
build-perl, perl: build shared libperl
John W. Eaton <jwe@octave.org>
parents:
4672
diff
changeset
|
31 && $($(PKG)_CONFIGURE_ENV) './Configure' -s -d -e \ |
7471ffc18c61
build-perl, perl: build shared libperl
John W. Eaton <jwe@octave.org>
parents:
4672
diff
changeset
|
32 -Dprefix='$(HOST_PREFIX)' \ |
4667 | 33 -D $(CONFIGURE_CPPFLAGS) -D $(CONFIGURE_LDFLAGS) \ |
4680
7471ffc18c61
build-perl, perl: build shared libperl
John W. Eaton <jwe@octave.org>
parents:
4672
diff
changeset
|
34 $($(PKG)_CONFIGURE_ARGS) \ |
7471ffc18c61
build-perl, perl: build shared libperl
John W. Eaton <jwe@octave.org>
parents:
4672
diff
changeset
|
35 && $(CONFIGURE_POST_HOOK) |
4667 | 36 |
37 $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)' | |
4830
eeb5b98e87ee
build-perl: Do build shared libperl; also install it in $(HOST_LIBDIR).
John W. Eaton <jwe@octave.org>
parents:
4829
diff
changeset
|
38 $(INSTALL) -m755 '$(1)/libperl.so' '$(3)/$(HOST_LIBDIR)' |
eeb5b98e87ee
build-perl: Do build shared libperl; also install it in $(HOST_LIBDIR).
John W. Eaton <jwe@octave.org>
parents:
4829
diff
changeset
|
39 |
4667 | 40 endef |
41 endif |