wok annotate aria2/receipt @ rev 18203
Up tazweb (165)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 13 12:16:43 2015 +0200 (2015-07-13) |
parents | 80c2116a3ab3 |
children | 8417cbe6fdae |
rev | line source |
---|---|
devl547@5217 | 1 # SliTaz package receipt. |
devl547@5217 | 2 |
devl547@5217 | 3 PACKAGE="aria2" |
slaxemulator@15807 | 4 VERSION="1.18.3" |
devl547@5217 | 5 CATEGORY="utilities" |
devl547@5217 | 6 SHORT_DESC="A download utility with resuming and segmented downloading with HTTP/HTTPS/FTP support" |
devl547@5217 | 7 MAINTAINER="devl547@gmail.com" |
pascal@15000 | 8 LICENSE="GPL2" |
devl547@5217 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@5217 | 10 WEB_SITE="http://aria2.sourceforge.net/" |
slaxemulator@7563 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@10983 | 12 |
pascal@15531 | 13 DEPENDS="zlib libxml2 gnutls libgcrypt" |
pascal@11378 | 14 BUILD_DEPENDS="zlib-dev gettext libxml2-dev gnutls-dev pkg-config gmp-dev \ |
pascal@11378 | 15 nettle-dev" |
devl547@5217 | 16 |
devl547@5217 | 17 # Rules to configure and make the package. |
devl547@5217 | 18 compile_rules() |
devl547@5217 | 19 { |
devl547@5217 | 20 cd $src |
slaxemulator@10983 | 21 ./configure $CONFIGURE_ARGS \ |
devl547@5217 | 22 --enable-epoll --enable-threads=posix --with-libz \ |
devl547@5217 | 23 --without-sqlite3 --without-openssl && |
slaxemulator@10983 | 24 make && make install |
devl547@5217 | 25 } |
devl547@5217 | 26 |
devl547@5217 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5217 | 28 genpkg_rules() |
devl547@5217 | 29 { |
devl547@5217 | 30 mkdir -p $fs/usr |
slaxemulator@10983 | 31 cp -a $install/usr/bin $fs/usr |
devl547@5217 | 32 } |