aria2.
This commit is contained in:
@@ -8,37 +8,33 @@ from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
j = ''.join([
|
||||
' --prefix=/usr',
|
||||
' --enable-bittorrent',
|
||||
' --enable-libaria2',
|
||||
' --enable-metalink',
|
||||
' --enable-epoll',
|
||||
' --enable-nls',
|
||||
' --disable-rpath',
|
||||
' --disable-static',
|
||||
' --with-libz',
|
||||
' --with-gnutls',
|
||||
' --with-sqlite3',
|
||||
' --with-libxml2',
|
||||
' --with-libssh2',
|
||||
' --with-libcares',
|
||||
' --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt',
|
||||
' --with-bashcompletiondir=/usr/share/bash-completion/completions '
|
||||
])
|
||||
|
||||
def setup():
|
||||
autotools.configure("--prefix=/usr \
|
||||
--enable-bittorrent \
|
||||
--enable-libaria2 \
|
||||
--enable-metalink \
|
||||
--enable-epoll \
|
||||
--enable-nls \
|
||||
\
|
||||
--disable-rpath \
|
||||
--disable-static \
|
||||
\
|
||||
--with-libz \
|
||||
--with-gnutls \
|
||||
--with-sqlite3 \
|
||||
--with-libxml2 \
|
||||
--with-libssh2 \
|
||||
--with-libcares \
|
||||
--with-ca-bundle=/etc/ssl/certs/ca-certificates.crt \
|
||||
--with-bashcompletiondir=/usr/share/bash-completion/completions")
|
||||
autotools.configure(j)
|
||||
|
||||
def build():
|
||||
autotools.make("-C po update-gmo")
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||
|
||||
pisitools.dodoc("AUTHORS", \
|
||||
"COPYING", \
|
||||
"INSTALL", \
|
||||
"LICENSE.OpenSSL", \
|
||||
"NEWS", \
|
||||
"README*")
|
||||
pisitools.dodoc("AUTHORS", "ChangeLog", "README*")
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>aria2</Name>
|
||||
@@ -15,8 +15,8 @@
|
||||
<Description>
|
||||
aria2 is a download utility with resuming and segmented downloading. Supported protocols are HTTP, HTTPS, FTP and BitTorrent. It also supports Metalink version 3.0.
|
||||
</Description>
|
||||
<Archive sha1sum="1e4f8dba13e6eb5860b90c567a9c03d2c4be8f18" type="tarxz">
|
||||
https://github.com/tatsuhiro-t/aria2/releases/download/release-1.35.0/aria2-1.35.0.tar.xz
|
||||
<Archive sha1sum="cd2e5e69ae8382b03bf18619d501af8b73bee201" type="tarxz">
|
||||
https://github.com/aria2/aria2/releases/download/release-1.36.0/aria2-1.36.0.tar.xz
|
||||
</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>gmp-devel</Dependency>
|
||||
@@ -27,7 +27,6 @@
|
||||
<Dependency>sqlite-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>libssh2-devel</Dependency>
|
||||
<Dependency>openssl-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
@@ -43,7 +42,6 @@
|
||||
<Dependency>sqlite</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>libssh2</Dependency>
|
||||
<Dependency>openssl</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
@@ -67,6 +65,13 @@
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="12">
|
||||
<Date>2021-09-14</Date>
|
||||
<Version>1.36.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>fury</Name>
|
||||
<Email>uglyside@yandex.ru</Email>
|
||||
</Update>
|
||||
<Update release="11">
|
||||
<Date>2021-07-01</Date>
|
||||
<Version>1.35.0</Version>
|
||||
|
||||
Reference in New Issue
Block a user