|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash |
|
|
|
|
# Build script for Slackware |
|
|
|
|
# Copyright (C) 2010 Damien Goutte-Gattat |
|
|
|
|
# Copyright (C) 2010,2011 Damien Goutte-Gattat |
|
|
|
|
# |
|
|
|
|
# Redistribution and use of this script, with or without modifications, |
|
|
|
|
# is permitted provided that the following conditions are met: |
|
|
|
@ -26,7 +26,7 @@
|
|
|
|
|
|
|
|
|
|
# Source package infos |
|
|
|
|
NAMESRC=${NAMESRC:-aria2} |
|
|
|
|
VERSION=${VERSION:-1.10.5} |
|
|
|
|
VERSION=${VERSION:-1.11.1} |
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2} |
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/aria2/$ARCHIVE} |
|
|
|
|
|
|
|
|
@ -86,7 +86,8 @@ CXXFLAGS=$CPUOPT \
|
|
|
|
|
./configure \ |
|
|
|
|
--prefix=/usr \ |
|
|
|
|
--mandir=/usr/man \ |
|
|
|
|
--docdir=/usr/doc/$NAME |
|
|
|
|
--docdir=/usr/doc/$NAME \ |
|
|
|
|
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt |
|
|
|
|
make -j $JOBS |
|
|
|
|
make install-strip DESTDIR=$PKG |
|
|
|
|
install -m 755 $PKG/usr/doc/$NAME/xmlrpc/aria2rpc $PKG/usr/bin/aria2rpc |
|
|
|
|