1
0

Makefile 1.0 KB

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