aboutsummaryrefslogblamecommitdiffstats
path: root/main/curl/APKBUILD
blob: 2a11a1230855eb43b501015d1f70a01a7fede751 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                   
            
             
        

                                             
          
             
        

                                  
                                                          

                                       

                                    
         
                       



                                         
                        
 
 
           
                       
                                      

 
                                                               
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=curl
pkgver=7.21.3
pkgrel=1
pkgdesc="An URL retrival utility and library"
url="http://curl.haxx.se"
arch="all"
license="MIT"
depends=
depends_dev="zlib-dev openssl-dev"
makedepends="$depends_dev"
source="http://curl.haxx.se/download/curl-$pkgver.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev"

_builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--without-libidn \
		--disable-ldap
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
}

md5sums="5b57fee22090b5c43a6886fdd35af2ce  curl-7.21.3.tar.bz2"