| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 | # This file is part of the OpenADK project. OpenADK is copyrighted# material, please see the LICENCE file in the top-level directory.include ${TOPDIR}/rules.mkPKG_NAME:=		curlPKG_VERSION:=		7.20.1PKG_RELEASE:=		1PKG_MD5SUM:=		d7df0507db48546661b155b612cac19cPKG_DESCR:=		a client-side URL transfer toolPKG_SECTION:=		wwwPKG_DEPENDS:=		libcurlPKG_BUILDDEP+=		openssl zlibPKG_URL:=		http://curl.haxx.sePKG_SITES:=		http://curl.haxx.se/download/ \			http://www.mirrorspace.org/curl/ \			http://curl.mirror.internet.tp/download/ \			ftp://ftp.sunet.se/pub/www/utilities/curl/ \			ftp://ftp.planetmirror.com/pub/curl/ \			http://www.mirrormonster.com/curl/download/ \			http://curl.mirrors.cyberservers.net/download/PKG_DESCR_LIB:=		a client-side URL transfer libraryPKG_SECTION_LIB:=	libsPKG_DEPENDS_LIB:=	libopenssl zlibPKG_DESCR_LIB_DEV:=	development files for libcurlPKG_SECTION_LIB_DEV:=	develinclude ${TOPDIR}/mk/package.mk$(eval $(call PKG_template,CURL,curl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))$(eval $(call PKG_template,LIBCURL,libcurl,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_LIB},${PKG_DESCR_LIB},${PKG_SECTION_LIB}))$(eval $(call PKG_template,LIBCURL_DEV,libcurl-dev,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_LIB_DEV},${PKG_SECTION_LIB_DEV}))SUB_INSTALLS-y:=SUB_INSTALLS-m:=SUB_INSTALLS-${ADK_PACKAGE_CURL}+=		curl-installSUB_INSTALLS-${ADK_PACKAGE_LIBCURL_DEV}+=	libcurl-dev-installCONFIGURE_ENV+=		curl_typeof_curl_socklen_t=socklen_tCONFIGURE_ARGS+=	--disable-thread \			--enable-cookies \			--enable-crypto-auth \			--enable-nonblocking \			--enable-file \			--enable-ftp \			--enable-http \			--disable-ares \			--disable-dict \			--disable-gopher \			--disable-ldap \			--disable-manual \			--disable-sspi \			--disable-telnet \			--disable-verbose \			--with-random="/dev/urandom" \			--with-ssl="${STAGING_DIR}/usr" \			--without-ca-bundle \			--without-gnutls \			--without-libidnpost-install: ${SUB_INSTALLS-m} ${SUB_INSTALLS-y}	${INSTALL_DIR} ${IDIR_LIBCURL}/usr/lib	${CP} ${WRKINST}/usr/lib/libcurl.so* ${IDIR_LIBCURL}/usr/lib/curl-install:	${INSTALL_DIR} ${IDIR_CURL}/usr/bin	${INSTALL_BIN} ${WRKINST}/usr/bin/curl ${IDIR_CURL}/usr/bin/libcurl-dev-install:	${INSTALL_DIR} ${IDIR_LIBCURL_DEV}/usr/include/curl	${CP} ${WRKINST}/usr/include/curl/*.h \		${IDIR_LIBCURL_DEV}/usr/include/curl/include ${TOPDIR}/mk/pkg-bottom.mk
 |