wok-stable view aria2/receipt @ rev 9536

Up: tazpkg (4.6.1) - Bug fix
author Christophe Lincoln <pankso@slitaz.org>
date Fri Apr 08 18:42:01 2011 +0200 (2011-04-08)
parents 038fccdb7f19
children 8eb251b22e62
line source
1 # SliTaz package receipt.
3 PACKAGE="aria2"
4 VERSION="1.11.1"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://aria2.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
11 BUILD_DEPENDS="zlib-dev gettext libxml2-dev gnutls-dev pkg-config"
12 DEPENDS="zlib libxml2 gnutls"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS \
20 --enable-epoll --enable-threads=posix --with-libz \
21 --without-sqlite3 --without-openssl &&
22 make -j 4 &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 }