wok-next annotate rtorrent/receipt @ rev 8594

Up: emotion to 55225
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 05:11:36 2011 +0100 (2011-02-14)
parents 1707e54fb4cf
children 02bbaa9d12ba
rev   line source
mimas@2018 1 # SliTaz package receipt.
mimas@2018 2
mimas@2018 3 PACKAGE="rtorrent"
slaxemulator@6244 4 VERSION="0.8.6"
mimas@2018 5 CATEGORY="network"
mimas@2018 6 SHORT_DESC="Ncurses based torrent client"
mimas@2018 7 MAINTAINER="mimas@slitaz.org"
pascal@5006 8 DEPENDS="ncurses libtorrent zlib ncursesw gcc-lib-base"
slaxemulator@6244 9 BUILD_DEPENDS="ncurses-dev libtorrent-dev libtorrent pkg-config libsigc++-dev curl-dev"
mimas@2018 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
mimas@2018 11 WEB_SITE="http://libtorrent.rakshasa.no/"
mimas@2018 12 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
jozee@4972 13 TAGS="torrent"
mimas@2018 14
mimas@2018 15 # Rules to configure and make the package.
mimas@2018 16 compile_rules()
mimas@2018 17 {
mimas@2018 18 cd $src
mimas@2018 19 ./configure \
mimas@2018 20 --prefix=/usr \
mimas@2018 21 --infodir=/usr/share/info \
mimas@2018 22 --mandir=/usr/share/man \
pascal@2446 23 $CONFIGURE_ARGS &&
pascal@2446 24 make &&
mimas@2018 25 make DESTDIR=$PWD/_pkg install
mimas@2018 26 }
mimas@2018 27
mimas@2018 28 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2018 29 genpkg_rules()
mimas@2018 30 {
mimas@2018 31 mkdir -p $fs/usr
mimas@2018 32 cp -a $_pkg/usr/bin $fs/usr
mimas@2018 33 strip -s $fs/usr/bin/*
mimas@2018 34 }
mimas@2018 35