wok view aria2/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents 04d824c95283
children 06e7758ce6d8
line source
1 # SliTaz package receipt.
3 PACKAGE="aria2"
4 VERSION="1.18.3"
5 CATEGORY="utilities"
6 SHORT_DESC="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP support"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://aria2.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="zlib libxml2 gnutls libgcrypt"
14 BUILD_DEPENDS="zlib-dev gettext libxml2-dev gnutls-dev pkg-config gmp-dev \
15 nettle-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure $CONFIGURE_ARGS \
21 --enable-epoll --enable-threads=posix --with-libz \
22 --without-sqlite3 --without-openssl &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 }