1
0

Makefile 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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:= neon
  5. PKG_VERSION:= 0.29.5
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ff369e69ef0f0143beb5626164e87ae2
  8. PKG_DESCR:= HTTP and WebDAV library
  9. PKG_SECTION:= libs
  10. PKG_DEPENDS:= libpthread libxml2 libopenssl zlib
  11. PKG_BUILDDEP:= libpthread libxml2 openssl zlib
  12. PKG_URL:= http://webdav.org/neon/
  13. PKG_SITES:= http://webdav.org/neon/
  14. PKG_SUBPKGS:= NEON NEON_DEV
  15. PKGSC_NEON_DEV:= devel
  16. PKGSD_NEON_DEV:= HTTP and WebDAV headers
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,NEON,neon,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. $(eval $(call PKG_template,NEON_DEV,neon-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_NEON_DEV},${PKGSC_NEON_DEV}))
  20. CONFIGURE_ARGS+= --with-ssl=openssl \
  21. --without-gssapi \
  22. --with-libxml2
  23. neon-install:
  24. ${INSTALL_DIR} ${IDIR_NEON}/usr/lib
  25. $(CP) ${WRKINST}/usr/lib/libneon.so* ${IDIR_NEON}/usr/lib
  26. neon-dev-install:
  27. ${INSTALL_DIR} ${IDIR_NEON_DEV}/usr/include/neon
  28. ${INSTALL_DATA} ${WRKINST}/usr/include/neon/*.h \
  29. ${IDIR_NEON_DEV}/usr/include/neon
  30. ${INSTALL_DIR} ${IDIR_NEON_DEV}/usr/lib/pkgconfig
  31. ${INSTALL_DATA} ${WRKINST}/usr/lib/pkgconfig/neon.pc \
  32. ${IDIR_NEON_DEV}/usr/lib/pkgconfig
  33. ${INSTALL_DIR} ${IDIR_NEON_DEV}/usr/bin
  34. ${INSTALL_BIN} ${WRKINST}/usr/bin/neon-config \
  35. ${IDIR_NEON_DEV}/usr/bin
  36. include ${TOPDIR}/mk/pkg-bottom.mk