wok-next view aria2/receipt @ rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
parents 6c5a7ccc834c
children 0de7930023e2
line source
1 # SliTaz package receipt.
3 PACKAGE="aria2"
4 VERSION="1.10.5"
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 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 }