1
0

Makefile 995 B

123456789101112131415161718192021222324252627282930313233
  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:= perl
  5. PKG_VERSION:= 5.12.2
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= af2df531d46b77fdf0d97eecb03eddb2
  8. PKG_DESCR:= full-blown Perl
  9. PKG_SECTION:= lang
  10. PKG_URL:= http://www.perl.org/
  11. PKG_SITES:= http://www.cpan.org/src/
  12. PKG_CFLINE_PERL:= depends on ADK_NATIVE
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,PERL,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIG_STYLE:= manual
  16. pre-configure:
  17. (cd ${WRKBUILD}; ./Configure -des -Dcc=gcc -Dprefix=/usr);
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_PERL}/usr/bin
  20. ${INSTALL_DIR} ${IDIR_PERL}/usr/lib/perl5/${PKG_VERSION}
  21. ${CP} ${WRKINST}/usr/lib/perl5/${PKG_VERSION}/* \
  22. ${IDIR_PERL}/usr/lib/perl5/${PKG_VERSION}
  23. ${INSTALL_BIN} ${WRKINST}/usr/bin/perl ${IDIR_PERL}/usr/bin/perl
  24. include ${TOPDIR}/mk/pkg-bottom.mk