Makefile 900 B

12345678910111213141516171819202122232425262728293031
  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:= 1
  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. ${INSTALL_BIN} ${WRKINST}/usr/bin/perl ${IDIR_PERL}/usr/bin/perl
  22. include ${TOPDIR}/mk/pkg-bottom.mk