|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
#!/bin/bash
|
|
|
|
|
# Build script for Slackware
|
|
|
|
|
# Copyright (C) 2010,2011,2012 Damien Goutte-Gattat
|
|
|
|
|
# Copyright (C) 2010,2011,2012,2013 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.15.2}
|
|
|
|
|
VERSION=${VERSION:-1.18.1}
|
|
|
|
|
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
|
|
|
|
|
WGET=${WGET:-http://downloads.sourceforge.net/aria2/$ARCHIVE}
|
|
|
|
|
|
|
|
|
@ -96,7 +96,7 @@ install -m 755 $PKG/usr/doc/$NAME/xmlrpc/aria2rpc $PKG/usr/bin/aria2rpc
|
|
|
|
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
|
|
|
|
|
|
|
|
|
# Install the documentation
|
|
|
|
|
install -m 644 AUTHORS COPYING ChangeLog NEWS $PKG/usr/doc/$NAME
|
|
|
|
|
install -m 644 AUTHORS COPYING ChangeLog README.rst $PKG/usr/doc/$NAME
|
|
|
|
|
|
|
|
|
|
# Copy slack-desc file
|
|
|
|
|
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
|
|
|
|
|