Makefile 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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:= curl
  5. PKG_VERSION:= 7.19.7
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= openssl zlib
  8. PKG_MD5SUM:= ecb2e37e45c9933e2a963cabe03670ab
  9. PKG_DESCR:= a client-side URL transfer tool
  10. PKG_SECTION:= net
  11. PKG_URL:= http://curl.haxx.se
  12. PKG_SITES:= http://curl.haxx.se/download/ \
  13. http://www.mirrorspace.org/curl/ \
  14. http://curl.mirror.internet.tp/download/ \
  15. ftp://ftp.sunet.se/pub/www/utilities/curl/ \
  16. ftp://ftp.planetmirror.com/pub/curl/ \
  17. http://www.mirrormonster.com/curl/download/ \
  18. http://curl.mirrors.cyberservers.net/download/
  19. PKG_DESCR_1:= a client-side URL transfer library
  20. PKG_SECTION_1:= libs
  21. PKG_DEPENDS_1:= libopenssl zlib
  22. include ${TOPDIR}/mk/package.mk
  23. $(eval $(call PKG_template,CURL,curl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  24. $(eval $(call PKG_template,LIBCURL,libcurl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION_1}))
  25. $(eval $(call PKG_template,LIBCURL_DEV,libcurl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION_1}))
  26. CONFIGURE_STYLE:= gnu
  27. CONFIGURE_ENV+= curl_typeof_curl_socklen_t=socklen_t
  28. CONFIGURE_ARGS+= --disable-thread \
  29. --enable-cookies \
  30. --enable-crypto-auth \
  31. --enable-nonblocking \
  32. --enable-file \
  33. --enable-ftp \
  34. --enable-http \
  35. --disable-ares \
  36. --disable-dict \
  37. --disable-gopher \
  38. --disable-ldap \
  39. --disable-manual \
  40. --disable-sspi \
  41. --disable-telnet \
  42. --disable-verbose \
  43. --with-random="/dev/urandom" \
  44. --with-ssl="${STAGING_DIR}/usr" \
  45. --without-ca-bundle \
  46. --without-gnutls \
  47. --without-libidn
  48. BUILD_STYLE:= auto
  49. INSTALL_STYLE:= auto
  50. post-install:
  51. ${INSTALL_DIR} ${IDIR_CURL}/usr/bin ${IDIR_LIBCURL}/usr/lib
  52. ${INSTALL_DIR} ${IDIR_LIBCURL_DEV}/usr/include/curl
  53. ${CP} ${WRKINST}/usr/bin/curl ${IDIR_CURL}/usr/bin/
  54. ${CP} ${WRKINST}/usr/lib/libcurl.so* ${IDIR_LIBCURL}/usr/lib/
  55. ${CP} ${WRKINST}/usr/include/curl/*.h ${IDIR_LIBCURL_DEV}/usr/include/curl/
  56. include ${TOPDIR}/mk/pkg-bottom.mk