1
0

Makefile 997 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
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 048032a3032ebd182150bdee30a5d533
  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. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBICONV,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. TCFLAGS+= -fPIC
  15. CONFIGURE_STYLE= gnu
  16. BUILD_STYLE= auto
  17. INSTALL_STYLE= auto confprog
  18. FAKE_FLAGS+= libdir="${WRKINST}/usr/lib" \
  19. includedir="${WRKINST}/usr/include" \
  20. INSTALL_TARGET= install-lib
  21. post-extract:
  22. @find ${WRKBUILD} -name *.rej -delete
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_LIBICONV}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libiconv.so.* ${IDIR_LIBICONV}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk