wok annotate aria2/receipt @ rev 6874
Up: aria2 to 1.10.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 21:38:30 2010 +0000 (2010-10-20) |
parents | 6c5a7ccc834c |
children | 0de7930023e2 |
rev | line source |
---|---|
devl547@5217 | 1 # SliTaz package receipt. |
devl547@5217 | 2 |
devl547@5217 | 3 PACKAGE="aria2" |
slaxemulator@6874 | 4 VERSION="1.10.5" |
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/" |
devl547@5518 | 10 WGET_URL="http://downloads.sourceforge.net/project/aria2/stable/$PACKAGE-$VERSION/$TARBALL" |
slaxemulator@6874 | 11 BUILD_DEPENDS="zlib-dev gettext libxml2-dev gnutls-dev pkg-config" |
slaxemulator@6874 | 12 DEPENDS="zlib libxml2 gnutls" |
devl547@5217 | 13 |
devl547@5217 | 14 # Rules to configure and make the package. |
devl547@5217 | 15 compile_rules() |
devl547@5217 | 16 { |
devl547@5217 | 17 cd $src |
devl547@5217 | 18 ./configure --prefix=/usr --infodir=/usr/share/info \ |
devl547@5217 | 19 --mandir=/usr/share/man $CONFIGURE_ARGS \ |
devl547@5217 | 20 --enable-epoll --enable-threads=posix --with-libz \ |
devl547@5217 | 21 --without-sqlite3 --without-openssl && |
slaxemulator@6874 | 22 make -j 4 && |
devl547@5217 | 23 make DESTDIR=$PWD/_pkg 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 |
devl547@5217 | 30 cp -a $_pkg/usr/bin $fs/usr |
devl547@5217 | 31 } |