wok view aria2/receipt @ rev 5799
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 11 13:55:46 2010 +0200 (2010-07-11) |
parents | e7e6fcecaf07 |
children | a564fb786626 |
line source
1 # SliTaz package receipt.
3 PACKAGE="aria2"
4 VERSION="1.9.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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://aria2.sourceforge.net/"
10 WGET_URL="http://downloads.sourceforge.net/project/aria2/stable/$PACKAGE-$VERSION/$TARBALL"
11 BUILD_DEPENDS="zlib-dev gettext"
12 DEPENDS="zlib"
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 &&
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 }