summaryrefslogtreecommitdiff
path: root/package/curl/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/curl/Makefile
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/curl/Makefile')
-rw-r--r--package/curl/Makefile17
1 files changed, 12 insertions, 5 deletions
diff --git a/package/curl/Makefile b/package/curl/Makefile
index 192a3f27b..82e07c8f0 100644
--- a/package/curl/Makefile
+++ b/package/curl/Makefile
@@ -9,7 +9,10 @@ PKG_NAME:= curl
PKG_VERSION:= 7.19.0
PKG_RELEASE:= 1
PKG_MD5SUM:= 35f51ac7bcff689b2d2d6e38a3c4d1ae
-MASTER_SITES:= http://curl.haxx.se/download/ \
+PKG_DESCR:= a client-side URL transfer tool
+PKG_SECTION:= net
+PKG_URL:= http://curl.haxx.se
+PKG_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/ \
@@ -17,12 +20,17 @@ MASTER_SITES:= http://curl.haxx.se/download/ \
http://www.mirrormonster.com/curl/download/ \
http://curl.mirrors.cyberservers.net/download/
+PKG_DESCR_1:= a client-side URL transfer library
+PKG_SECTION_1:= libs
+PKG_DEPENDS_1:= libopenssl zlib
+
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,CURL,curl,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,LIBCURL,libcurl,${PKG_VERSION}-${PKG_RELEASE}))
+$(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_1},${PKG_DESCR_1},${PKG_SECTION_1}))
CONFIGURE_STYLE= gnu
+CONFIGURE_ENV+= curl_typeof_curl_socklen_t=socklen_t
CONFIGURE_ARGS+= --disable-thread \
--enable-cookies \
--enable-crypto-auth \
@@ -47,9 +55,8 @@ BUILD_STYLE= auto
INSTALL_STYLE= auto
post-install:
- ${INSTALL_DIR} ${IDIR_CURL}/usr/bin
+ ${INSTALL_DIR} ${IDIR_CURL}/usr/bin ${IDIR_LIBCURL}/usr/lib
${CP} ${WRKINST}/usr/bin/curl ${IDIR_CURL}/usr/bin/
- ${INSTALL_DIR} ${IDIR_LIBCURL}/usr/lib
${CP} ${WRKINST}/usr/lib/libcurl.so.* ${IDIR_LIBCURL}/usr/lib/
include ${TOPDIR}/mk/pkg-bottom.mk