Makefile 876 B

12345678910111213141516171819202122232425262728
  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:= libpri
  5. PKG_VERSION:= 1.4.10.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= dc1523d8ee027cd62f20fc6cc9727489
  8. PKG_DESCR:= C implementation of the Primary Rate ISDN specification
  9. PKG_SECTION:= libs
  10. PKG_URL:= http://www.asterisk.org/
  11. PKG_SITES:= http://downloads.asterisk.org/pub/telephony/libpri/releases/
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,LIBPRI,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  14. CONFIG_STYLE:= manual
  15. MAKE_FLAGS+= CC='${TARGET_CC}' LDCONFIG=''
  16. FAKE_FLAGS+= INSTALL_BASE=/usr
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_LIBPRI}/usr/lib
  19. ${CP} ${WRKINST}/usr/lib/libpri.so* ${IDIR_LIBPRI}/usr/lib
  20. include ${TOPDIR}/mk/pkg-bottom.mk