annotate src/build-perl.mk @ 4667:c338241afed1

build-perl: new package
author John W. Eaton <jwe@octave.org>
date Thu, 19 Apr 2018 17:21:35 -0400
parents
children a7ea879b0715
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 :=
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
6 $(PKG)_VERSION := 5.26.1
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
7 $(PKG)_CHECKSUM :=
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)
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
11
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
12 $(PKG)_DEPS :=
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
13
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
14 ifeq ($(MXE_WINDOWS_BUILD),yes)
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
15 define $(PKG)_BUILD
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
16 endef
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
17 else
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
18 define $(PKG)_BUILD
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
19 cd '$(1)' && $($(PKG)_CONFIGURE_ENV) './Configure' -s -d -e -Dprefix='$(HOST_PREFIX)' \
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
20 -D $(CONFIGURE_CPPFLAGS) -D $(CONFIGURE_LDFLAGS) \
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
21 && $(CONFIGURE_POST_HOOK)
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
22
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
23 $(MAKE) -C '$(1)' -j '$(JOBS)' install DESTDIR='$(3)'
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
24 endef
c338241afed1 build-perl: new package
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25 endif