Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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.10.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= d2c39b002ebfd2c3c5dba589365c5a71
  10. PKG_DESCR:= Perl without operating-specific functions
  11. PKG_SECTION:= net
  12. PKG_URL:= www.perl.org
  13. PKG_SITES:= ftp://ftp.cpan.org/pub/CPAN/src/5.0/ \
  14. ftp://ftp.mpi-sb.mpg.de/pub/perl/CPAN/src/5.0/ \
  15. ftp://ftp.gmd.de/mirrors/CPAN/src/5.0/ \
  16. ftp://ftp.funet.fi/pub/languages/perl/CPAN/src/5.0/
  17. DISTFILES:= perl-${PKG_VERSION}.tar.gz
  18. WRKDIST= ${WRKDIR}/perl-${PKG_VERSION}
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,MICROPERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. BUILD_STYLE:= auto
  22. MAKE_FLAGS+= CC="${TARGET_CC}" OPTIMIZE="${TCFLAGS}"
  23. MAKE_FILE:= Makefile.micro
  24. do-install:
  25. ${INSTALL_DIR} ${IDIR_MICROPERL}/usr/bin
  26. ${INSTALL_BIN} ${WRKBUILD}/microperl ${IDIR_MICROPERL}/usr/bin/
  27. include ${TOPDIR}/mk/pkg-bottom.mk