wok-4.x view aria2/receipt @ rev 9058

cndrvcups-common: do not compute _pkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 11:54:05 2011 +0100 (2011-03-04)
parents 548e31294c31
children 038fccdb7f19
line source
1 # SliTaz package receipt.
3 PACKAGE="aria2"
4 VERSION="1.10.9"
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 }