Makefile 936 B

1234567891011121314151617181920212223242526272829303132
  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. FAKE_FLAGS+= libdir="${WRKINST}/usr/lib" \
  19. includedir="${WRKINST}/usr/include" \
  20. INSTALL_TARGET= install-lib
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_LIBICONV}/usr/lib
  23. ${CP} ${WRKINST}/usr/lib/libiconv.so* ${IDIR_LIBICONV}/usr/lib/
  24. include ${TOPDIR}/mk/pkg-bottom.mk