summaryrefslogtreecommitdiff
path: root/mk/perl.mk
blob: dc16bcb0019b9412cc8329b7c4c20aec5e90e66e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
PERL_VERSION=5.18.1
PERL_ARCHNAME:=$(ADK_TARGET_CPU_ARCH)-linux
PERL_SITEDIR:=/usr/lib/perl5/site_perl/$(PERL_VERSION)
PERL_ENV:=	AR="$(TARGET_AR)" \
		FULL_AR="$(TARGET_AR)" \
		CC="$(TARGET_CC)" \
		CCFLAGS="$(TARGET_CFLAGS)" \
		LD="$(TARGET_CC)" \
		LDDLFLAGS="-shared $(TARGET_LDFLAGS)" \
		LDFLAGS="$(TARGET_LDFLAGS)" \
		PERL_INC=$(STAGING_TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE \
		DESTDIR=$(WRKINST) \
		INSTALLDIRS=vendor \
		INSTALLVENDORLIB=$(PERL_SITEDIR) \
		INSTALLVENDORARCH=$(PERL_SITEDIR)/$(PERL_ARCHNAME) \
		INSTALLVENDORBIN=/usr/bin \
		INSTALLVENDORSCRIPT=/usr/bin