aboutsummaryrefslogtreecommitdiffstats
path: root/main/aria2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-01-27 08:39:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-01-27 08:39:11 +0000
commitce92644cd69860679dd9d1fe518871c73766da2e (patch)
treea220a364f490cb8c9ca1c3c7a337a5d660a4fba0 /main/aria2
parent2261ae956d1f2daa81d19195357e6af80349daa1 (diff)
downloadaports-ce92644cd69860679dd9d1fe518871c73766da2e.tar.bz2
aports-ce92644cd69860679dd9d1fe518871c73766da2e.tar.xz
main/aria2: moved from testing
fixes #959
Diffstat (limited to 'main/aria2')
-rw-r--r--main/aria2/APKBUILD42
1 files changed, 42 insertions, 0 deletions
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 <jbilyk@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+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"