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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4667
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
1 # This file is part of MXE.
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
2 # See index.html for further information.
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
3
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
4 PKG := build-perl
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
8 $(PKG)_SUBDIR := perl-$($(PKG)_VERSION)
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
9 $(PKG)_FILE := perl-$($(PKG)_VERSION).tar.gz
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17
5006
457d4af76752 * src/build-perl.mk: add update ruke
John Donoghue
parents: 4830
diff changeset
18 define $(PKG)_UPDATE
457d4af76752 * src/build-perl.mk: add update ruke
John Donoghue
parents: 4830
diff changeset
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
457d4af76752 * src/build-perl.mk: add update ruke
John Donoghue
parents: 4830
diff changeset
21 $(SORT) -V | \
457d4af76752 * src/build-perl.mk: add update ruke
John Donoghue
parents: 4830
diff changeset
22 tail -1
457d4af76752 * src/build-perl.mk: add update ruke
John Donoghue
parents: 4830
diff changeset
23 endef
457d4af76752 * src/build-perl.mk: add update ruke
John Donoghue
parents: 4830
diff changeset
24
4667
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 ifeq ($(MXE_WINDOWS_BUILD),yes)
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 define $(PKG)_BUILD
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 endef
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28 else
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
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
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 endef
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41 endif