Makefile 912 B

1234567891011121314151617181920212223242526272829
  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.12
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= 9de39b866f049cc20a4f431cc6245166
  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. PKG_OPTS:= dev
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBPRI,libpri,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  15. CONFIG_STYLE:= manual
  16. MAKE_FLAGS+= CC='${TARGET_CC}' LDCONFIG='' ARCH=$(ARCH)
  17. FAKE_FLAGS+= INSTALL_BASE=/usr
  18. libpri-install:
  19. ${INSTALL_DIR} ${IDIR_LIBPRI}/usr/lib
  20. ${CP} ${WRKINST}/usr/lib/libpri.so* ${IDIR_LIBPRI}/usr/lib
  21. include ${TOPDIR}/mk/pkg-bottom.mk