Makefile 999 B

12345678910111213141516171819202122232425262728293031323334
  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:= libiconv
  5. PKG_VERSION:= 1.13.1
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 7ab33ebd26687c744a37264a330bbe9a
  8. PKG_DESCR:= character set conversion library
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.gnu.org/software/libiconv
  11. PKG_SITES:= ${MASTER_SITE_GNU:=libiconv/}
  12. ifeq ($(ADK_STATIC),y)
  13. PKG_OPTS:= libonly
  14. endif
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,LIBICONV,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  17. TCFLAGS+= -fPIC
  18. CONFIGURE_STYLE:= gnu
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. FAKE_FLAGS+= libdir="${WRKINST}/usr/lib" \
  22. includedir="${WRKINST}/usr/include" \
  23. INSTALL_TARGET= install-lib
  24. post-install:
  25. ${INSTALL_DIR} ${IDIR_LIBICONV}/usr/lib
  26. ${CP} ${WRKINST}/usr/lib/libiconv.so* ${IDIR_LIBICONV}/usr/lib/
  27. include ${TOPDIR}/mk/pkg-bottom.mk