Makefile 1018 B

12345678910111213141516171819202122232425262728293031
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= libpri
  5. PKG_VERSION:= 1.4.12
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= c0e170a742ed5d19515c99472fe79a467522355b3c24e4f7359d667b7d756e75
  8. PKG_DESCR:= c implementation of the primary rate isdn specification
  9. PKG_SECTION:= libs/misc
  10. PKG_URL:= http://www.asterisk.org/
  11. PKG_SITES:= http://downloads.asterisk.org/pub/telephony/libpri/releases/
  12. PKG_OPTS:= dev
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. include ${ADK_TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,LIBPRI,libpri,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  16. CONFIG_STYLE:= manual
  17. MAKE_FLAGS+= CC='${TARGET_CC}' LDCONFIG='' ARCH=$(ADK_TARGET_ARCH)
  18. FAKE_FLAGS+= INSTALL_BASE=/usr
  19. libpri-install:
  20. ${INSTALL_DIR} ${IDIR_LIBPRI}/usr/lib
  21. ${CP} ${WRKINST}/usr/lib/libpri.so* ${IDIR_LIBPRI}/usr/lib
  22. include ${ADK_TOPDIR}/mk/pkg-bottom.mk