1
0

Makefile 1.8 KB

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