summaryrefslogtreecommitdiffstats
path: root/meta/packages/curl
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-01-03 17:50:10 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-01-03 17:50:10 +0000
commit575235fc0371eb13ea9c4632028f7cb7766a9880 (patch)
tree0929f3fb9e8a8a46112cbbf3389f69f5c319b7dc /meta/packages/curl
parentc4a39f6417e7570ca3229943c7fcde49d72f6bf8 (diff)
downloadpoky-575235fc0371eb13ea9c4632028f7cb7766a9880.tar.gz
curl: Get rid of old fashioned broken stage functions
Diffstat (limited to 'meta/packages/curl')
-rw-r--r--meta/packages/curl/curl-native_7.18.0.bb10
-rw-r--r--meta/packages/curl/curl-sdk_7.18.0.bb10
-rw-r--r--meta/packages/curl/curl_7.18.0.bb9
3 files changed, 2 insertions, 27 deletions
diff --git a/meta/packages/curl/curl-native_7.18.0.bb b/meta/packages/curl/curl-native_7.18.0.bb
index e056ec10c3..880caac7cb 100644
--- a/meta/packages/curl/curl-native_7.18.0.bb
+++ b/meta/packages/curl/curl-native_7.18.0.bb
@@ -2,13 +2,3 @@ require curl_${PV}.bb
2inherit native 2inherit native
3DEPENDS = "zlib-native" 3DEPENDS = "zlib-native"
4 4
5do_stage () {
6 install -d ${STAGING_INCDIR}/curl
7 install -m 0644 ${S}/include/curl/*.h ${STAGING_INCDIR}/curl/
8 oe_libinstall -so -a -C lib libcurl ${STAGING_LIBDIR}
9}
10
11do_install() {
12 :
13}
14
diff --git a/meta/packages/curl/curl-sdk_7.18.0.bb b/meta/packages/curl/curl-sdk_7.18.0.bb
index 816fe645bc..f15e2db39a 100644
--- a/meta/packages/curl/curl-sdk_7.18.0.bb
+++ b/meta/packages/curl/curl-sdk_7.18.0.bb
@@ -2,13 +2,3 @@ require curl_${PV}.bb
2inherit sdk 2inherit sdk
3DEPENDS = "zlib-sdk" 3DEPENDS = "zlib-sdk"
4 4
5do_stage () {
6 install -d ${STAGING_INCDIR}/curl
7 install -m 0644 ${S}/include/curl/*.h ${STAGING_INCDIR}/curl/
8 oe_libinstall -so -a -C lib libcurl ${STAGING_LIBDIR}
9}
10
11do_install() {
12 :
13}
14
diff --git a/meta/packages/curl/curl_7.18.0.bb b/meta/packages/curl/curl_7.18.0.bb
index ae2cff6e10..cf4926bfbb 100644
--- a/meta/packages/curl/curl_7.18.0.bb
+++ b/meta/packages/curl/curl_7.18.0.bb
@@ -2,12 +2,13 @@ DESCRIPTION = "Command line tool and library for client-side URL transfers."
2LICENSE = "MIT" 2LICENSE = "MIT"
3DEPENDS = "zlib gnutls" 3DEPENDS = "zlib gnutls"
4SECTION = "console/network" 4SECTION = "console/network"
5PR = "r1"
5 6
6SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \ 7SRC_URI = "http://curl.haxx.se/download/curl-${PV}.tar.bz2 \
7 file://pkgconfig_fix.patch;patch=1" 8 file://pkgconfig_fix.patch;patch=1"
8S = "${WORKDIR}/curl-${PV}" 9S = "${WORKDIR}/curl-${PV}"
9 10
10inherit autotools pkgconfig binconfig 11inherit autotools_stage pkgconfig binconfig
11 12
12EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \ 13EXTRA_OECONF = "--with-zlib=${STAGING_LIBDIR}/../ \
13 --with-gnutls=${STAGING_BINDIR_CROSS}/ \ 14 --with-gnutls=${STAGING_BINDIR_CROSS}/ \
@@ -22,12 +23,6 @@ do_configure_prepend() {
22 sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac 23 sed -i s:OPT_GNUTLS/bin:OPT_GNUTLS:g configure.ac
23} 24}
24 25
25do_stage () {
26 install -d ${STAGING_INCDIR}/curl
27 install -m 0644 ${S}/include/curl/*.h ${STAGING_INCDIR}/curl/
28 oe_libinstall -so -a -C lib libcurl ${STAGING_LIBDIR}
29}
30
31PACKAGES += "${PN}-certs libcurl libcurl-dev libcurl-doc" 26PACKAGES += "${PN}-certs libcurl libcurl-dev libcurl-doc"
32 27
33FILES_${PN} = "${bindir}/curl" 28FILES_${PN} = "${bindir}/curl"