Makefile 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= curl
  7. PKG_VERSION:= 7.19.0
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 35f51ac7bcff689b2d2d6e38a3c4d1ae
  10. PKG_DESCR:= a client-side URL transfer tool
  11. PKG_SECTION:= net
  12. PKG_URL:= http://curl.haxx.se
  13. PKG_SITES:= http://curl.haxx.se/download/ \
  14. http://www.mirrorspace.org/curl/ \
  15. http://curl.mirror.internet.tp/download/ \
  16. ftp://ftp.sunet.se/pub/www/utilities/curl/ \
  17. ftp://ftp.planetmirror.com/pub/curl/ \
  18. http://www.mirrormonster.com/curl/download/ \
  19. http://curl.mirrors.cyberservers.net/download/
  20. PKG_DESCR_1:= a client-side URL transfer library
  21. PKG_SECTION_1:= libs
  22. PKG_DEPENDS_1:= libopenssl zlib
  23. include ${TOPDIR}/mk/package.mk
  24. $(eval $(call PKG_template,CURL,curl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  25. $(eval $(call PKG_template,LIBCURL,libcurl,${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. ${CP} ${WRKINST}/usr/bin/curl ${IDIR_CURL}/usr/bin/
  53. ${CP} ${WRKINST}/usr/lib/libcurl.so.* ${IDIR_LIBCURL}/usr/lib/
  54. include ${TOPDIR}/mk/pkg-bottom.mk