1
0

Makefile 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME:= microperl
  5. PKG_VERSION:= 5.10.0
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= d2c39b002ebfd2c3c5dba589365c5a71
  8. PKG_DESCR:= Perl without operating-specific functions
  9. PKG_SECTION:= net
  10. PKG_URL:= www.perl.org
  11. PKG_SITES:= ftp://ftp.cpan.org/pub/CPAN/src/5.0/ \
  12. ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/src/5.0/ \
  13. ftp://ftp.gmd.de/mirrors/CPAN/src/5.0/ \
  14. ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/
  15. DISTFILES:= perl-${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/perl-${PKG_VERSION}
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,MICROPERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. BUILD_STYLE:= auto
  20. MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TCFLAGS}"
  21. MAKE_FILE:= Makefile.micro
  22. pre-configure:
  23. $(CP) ./files/uconfig.h.$(ARCH) $(WRKBUILD)/uconfig.h
  24. do-install:
  25. ${INSTALL_DIR} ${IDIR_MICROPERL}/usr/bin
  26. ${INSTALL_DIR} ${IDIR_MICROPERL}/usr/lib/perl5/${PKG_VERSION}
  27. ${INSTALL_BIN} ${WRKBUILD}/microperl ${IDIR_MICROPERL}/usr/bin/perl
  28. ${INSTALL_DATA} ${WRKBUILD}/lib/strict.pm \
  29. ${IDIR_MICROPERL}/usr/lib/perl5/${PKG_VERSION}
  30. include ${TOPDIR}/mk/pkg-bottom.mk