aria2.
This commit is contained in:
@@ -8,37 +8,33 @@ from pisi.actionsapi import autotools
|
|||||||
from pisi.actionsapi import pisitools
|
from pisi.actionsapi import pisitools
|
||||||
from pisi.actionsapi import get
|
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():
|
def setup():
|
||||||
autotools.configure("--prefix=/usr \
|
autotools.configure(j)
|
||||||
--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 build():
|
def build():
|
||||||
autotools.make("-C po update-gmo")
|
|
||||||
autotools.make()
|
autotools.make()
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
|
||||||
|
|
||||||
pisitools.dodoc("AUTHORS", \
|
pisitools.dodoc("AUTHORS", "ChangeLog", "README*")
|
||||||
"COPYING", \
|
|
||||||
"INSTALL", \
|
|
||||||
"LICENSE.OpenSSL", \
|
|
||||||
"NEWS", \
|
|
||||||
"README*")
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<?xml version="1.0" ?>
|
<?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>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>aria2</Name>
|
<Name>aria2</Name>
|
||||||
@@ -15,8 +15,8 @@
|
|||||||
<Description>
|
<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.
|
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>
|
</Description>
|
||||||
<Archive sha1sum="1e4f8dba13e6eb5860b90c567a9c03d2c4be8f18" type="tarxz">
|
<Archive sha1sum="cd2e5e69ae8382b03bf18619d501af8b73bee201" type="tarxz">
|
||||||
https://github.com/tatsuhiro-t/aria2/releases/download/release-1.35.0/aria2-1.35.0.tar.xz
|
https://github.com/aria2/aria2/releases/download/release-1.36.0/aria2-1.36.0.tar.xz
|
||||||
</Archive>
|
</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>gmp-devel</Dependency>
|
<Dependency>gmp-devel</Dependency>
|
||||||
@@ -27,7 +27,6 @@
|
|||||||
<Dependency>sqlite-devel</Dependency>
|
<Dependency>sqlite-devel</Dependency>
|
||||||
<Dependency>libxml2-devel</Dependency>
|
<Dependency>libxml2-devel</Dependency>
|
||||||
<Dependency>libssh2-devel</Dependency>
|
<Dependency>libssh2-devel</Dependency>
|
||||||
<Dependency>openssl-devel</Dependency>
|
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
@@ -43,7 +42,6 @@
|
|||||||
<Dependency>sqlite</Dependency>
|
<Dependency>sqlite</Dependency>
|
||||||
<Dependency>libxml2</Dependency>
|
<Dependency>libxml2</Dependency>
|
||||||
<Dependency>libssh2</Dependency>
|
<Dependency>libssh2</Dependency>
|
||||||
<Dependency>openssl</Dependency>
|
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
@@ -67,6 +65,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<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">
|
<Update release="11">
|
||||||
<Date>2021-07-01</Date>
|
<Date>2021-07-01</Date>
|
||||||
<Version>1.35.0</Version>
|
<Version>1.35.0</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user