Makefile 1009 B

123456789101112131415161718192021222324252627282930313233
  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:= libosip2
  5. PKG_VERSION:= 3.3.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 81493bb4d4ae6d55b71a0d4369339125
  8. PKG_DESCR:= GNU oSIP library, a SIP (Session Initiation Protocol) implementation
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libpthread
  11. PKG_URL:= http://www.gnu.org/software/osip
  12. PKG_SITES:= ${MASTER_SITE_GNU:=osip/}
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,LIBOSIP2,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. CONFIGURE_STYLE= gnu
  16. CONFIGURE_ENV+= ac_cv_lib_nsl_nis_add=no
  17. CONFIGURE_ARGS+= --disable-trace \
  18. --enable-pthread \
  19. --enable-semaphore \
  20. --enable-ntimer
  21. BUILD_STYLE= auto
  22. INSTALL_STYLE= auto
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_LIBOSIP2}/usr/lib
  25. ${CP} ${WRKINST}/usr/lib/libosip{,parser}2.so.* ${IDIR_LIBOSIP2}/usr/lib/
  26. include ${TOPDIR}/mk/pkg-bottom.mk