Makefile 800 B

12345678910111213141516171819202122232425262728
  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:= bzip2
  5. PKG_VERSION:= 1.0.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3c15a0c8d1d3ee1c46a1634d00617b1a
  8. PKG_DESCR:= bzip2 compression utility
  9. PKG_SECTION:= utils
  10. PKG_URL:= http://www.bzip.org
  11. PKG_SITES:= http://www.bzip.org/1.0.5/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,BZIP2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. TCFLAGS+= -fPIC
  15. XAKE_FLAGS+= PREFIX=${WRKINST}/usr
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. post-install:
  19. ${INSTALL_DIR} ${IDIR_BZIP2}/usr/bin
  20. ${INSTALL_BIN} ${WRKINST}/usr/bin/bzip2 ${IDIR_BZIP2}/usr/bin
  21. include ${TOPDIR}/mk/pkg-bottom.mk