1
0

perl.mk 641 B

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