From ce92644cd69860679dd9d1fe518871c73766da2e Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 27 Jan 2012 08:39:11 +0000 Subject: main/aria2: moved from testing fixes #959 --- main/aria2/APKBUILD | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 main/aria2/APKBUILD (limited to 'main/aria2/APKBUILD') diff --git a/main/aria2/APKBUILD b/main/aria2/APKBUILD new file mode 100644 index 0000000000..66fff9e8c7 --- /dev/null +++ b/main/aria2/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Jeff Bilyk +# Maintainer: Natanael Copa +pkgname=aria2 +pkgver=1.14.1 +pkgrel=1 +pkgdesc="Download utility for HTTP(S), FTP, Bittorrent, and Metalink" +url="http://aria2.sourceforge.net" +arch="all" +license="GPL" +depends="ca-certificates" +depends_dev="gnutls-dev expat-dev sqlite-dev c-ares-dev" +makedepends="$depends_dev" +install="" +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/aria2/aria2-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --disable-nls \ + --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \ + || return 1 + make +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="3a23844ab3e1460eb7e6dac9b5dd798c aria2-1.14.1.tar.bz2" -- cgit v1.2.3