aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorJeff Bilyk <jbilyk@gmail.com>2012-01-25 22:03:52 +0000
committerJeff Bilyk <jbilyk@gmail.com>2012-01-25 22:03:52 +0000
commit01cc36455b7096d82539513181444a39290c8966 (patch)
tree6609baa6d239e45b5e8c7c5a6af2e07b2b7b2c71 /testing
parent56b2861fea9c44262db76b7852a0a3e5e1575760 (diff)
downloadaports-01cc36455b7096d82539513181444a39290c8966.tar.bz2
aports-01cc36455b7096d82539513181444a39290c8966.tar.xz
testing/aria2: new aport
ref #959
Diffstat (limited to 'testing')
-rw-r--r--testing/aria2/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/testing/aria2/APKBUILD b/testing/aria2/APKBUILD
new file mode 100644
index 0000000000..1a4c3cfa1b
--- /dev/null
+++ b/testing/aria2/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Jeff Bilyk <jbilyk@gmail.com>
+# Maintainer:
+pkgname=aria2
+pkgver=1.14.1
+pkgrel=0
+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 libxml2-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 \
+ --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="3a23844ab3e1460eb7e6dac9b5dd798c aria2-1.14.1.tar.bz2"