Makefile 939 B

12345678910111213141516171819202122232425262728293031
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= microperl
  7. PKG_VERSION:= 5.8.6
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 8d4aa4e061fd5bc0c39e4f0a63267880
  10. MASTER_SITES:= ftp://ftp.cpan.org/pub/CPAN/src/5.0/ \
  11. ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/src/5.0/ \
  12. ftp://ftp.gmd.de/mirrors/CPAN/src/5.0/ \
  13. ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/
  14. DISTFILES:= perl-${PKG_VERSION}.tar.gz
  15. WRKDIST= ${WRKDIR}/perl-${PKG_VERSION}
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,MICROPERL,microperl,${PKG_VERSION}-${PKG_RELEASE}))
  18. BUILD_STYLE:= auto
  19. MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TCFLAGS}"
  20. MAKE_FILE:= Makefile.micro
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_MICROPERL}/usr/bin
  23. ${INSTALL_BIN} ${WRKBUILD}/microperl ${IDIR_MICROPERL}/usr/bin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk