Makefile 897 B

12345678910111213141516171819202122232425262728293031323334
  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:= jpeg
  7. PKG_VERSION:= 6b
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= dbd5f3b47ed13132f04c685d608a7547
  10. MASTER_SITES:= http://www.ijg.org/files/ \
  11. ftp://ftp.uu.net/graphics/jpeg/
  12. DISTFILES:= ${PKG_NAME}src.v${PKG_VERSION}.tar.gz
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBJPEG,libjpeg,${PKG_VERSION}-${PKG_RELEASE}))
  15. CONFIGURE_STYLE:= gnu
  16. BUILD_STYLE:= auto
  17. INSTALL_STYLE:= auto
  18. FAKE_FLAGS+= prefix="${WRKINST}/usr" \
  19. exec_prefix="${WRKINST}/usr"
  20. INSTALL_TARGET:= install-headers install-lib
  21. pre-build:
  22. mkdir -p ${WRKINST}/usr/{include,lib}
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_LIBJPEG}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libjpeg.* ${IDIR_LIBJPEG}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk