wok annotate aria2/receipt @ rev 11953
Up: slitaz-tools (4.7) - Bug fixes
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Mar 01 16:01:22 2012 +0100 (2012-03-01) |
parents | a58947caa92e |
children | 5c7176d65462 |
rev | line source |
---|---|
devl547@5217 | 1 # SliTaz package receipt. |
devl547@5217 | 2 |
devl547@5217 | 3 PACKAGE="aria2" |
slaxemulator@10983 | 4 VERSION="1.13.0" |
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" |
devl547@5217 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
devl547@5217 | 9 WEB_SITE="http://aria2.sourceforge.net/" |
slaxemulator@7563 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
slaxemulator@10983 | 11 |
slaxemulator@10983 | 12 DEPENDS="zlib libxml2 gnutls" |
pascal@11378 | 13 BUILD_DEPENDS="zlib-dev gettext libxml2-dev gnutls-dev pkg-config gmp-dev \ |
pascal@11378 | 14 nettle-dev" |
devl547@5217 | 15 |
devl547@5217 | 16 # Rules to configure and make the package. |
devl547@5217 | 17 compile_rules() |
devl547@5217 | 18 { |
devl547@5217 | 19 cd $src |
slaxemulator@10983 | 20 ./configure $CONFIGURE_ARGS \ |
devl547@5217 | 21 --enable-epoll --enable-threads=posix --with-libz \ |
devl547@5217 | 22 --without-sqlite3 --without-openssl && |
slaxemulator@10983 | 23 make && make install |
devl547@5217 | 24 } |
devl547@5217 | 25 |
devl547@5217 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
devl547@5217 | 27 genpkg_rules() |
devl547@5217 | 28 { |
devl547@5217 | 29 mkdir -p $fs/usr |
slaxemulator@10983 | 30 cp -a $install/usr/bin $fs/usr |
devl547@5217 | 31 } |