]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Converted lfs/curl to new LFS format.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 2 Apr 2009 10:10:23 +0000 (12:10 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 2 Apr 2009 10:10:23 +0000 (12:10 +0200)
lfs/curl

index d6858c83985b69d8fd2262032338d0c274e255d0..64a779e01fcc10a76b29c68898e5333f5941d6c8 100644 (file)
--- a/lfs/curl
+++ b/lfs/curl
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
+# Copyright (C) 2007, 2008, 2009 Michael Tremer & Christian Schmidt           #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -26,14 +26,31 @@ include Config
 
 PKG_NAME   = curl
 PKG_VER    = 7.16.3
+PKG_REL    = 0
 
 THISAPP    = $(PKG_NAME)-$(PKG_VER)
 DL_FILE    = $(THISAPP).tar.bz2
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 
+OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+
+MAINTAINER =
+GROUP      = Applications/Internet
+EXTRA      = no
+DEBUG      = no
 DEPS       = pkg-config openssl openldap
 
-OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
+URL        = http://curl.haxx.se/
+LICENSE    = MIT
+SHORT_DESC = A utility for getting files from remote servers (FTP, HTTP, and others).
+
+define LONG_DESC
+       cURL is a tool for getting files from HTTP, FTP, FILE, LDAP, LDAPS, \
+       DICT, TELNET and TFTP servers, using any of the supported protocols. \
+       cURL is designed to work without user interaction or any kind of \
+       interactivity. cURL offers many useful capabilities, like proxy support, \
+       user authentication, FTP upload, HTTP post, and file transfer resume.
+endef
 
 ###############################################################################
 # Top-level Rules
@@ -41,23 +58,26 @@ OBJECT     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
 objects = $(DL_FILE)
 
+download: $(objects)
+
 info:
        $(DO_PKG_INFO)
 
 install: $(OBJECT)
 
-download : $(objects)
+package:
+       @$(DO_PACKAGE)
 
-$(objects) :
+$(objects):
        @$(LOAD)
 
 ###############################################################################
 # Installation Details
 ###############################################################################
 
-$(OBJECT) : 
+$(OBJECT): $(objects)
        @$(PREBUILD)
-       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
+       @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
        cd $(DIR_APP) && \
                ./configure \
                        $(CONFIGURE_ARCH) \