wok-next annotate libtorrent/receipt @ rev 10376

libtorrent: no cross for now
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 23 12:44:00 2011 +0200 (2011-05-23)
parents 3541e02e9ad4
children e8dfa7a938d8
rev   line source
mimas@2018 1 # SliTaz package receipt.
mimas@2018 2
mimas@2018 3 PACKAGE="libtorrent"
slaxemulator@6244 4 VERSION="0.12.6"
mimas@2018 5 CATEGORY="network"
mimas@2018 6 SHORT_DESC="Torrent library for rtorrent"
mimas@2018 7 MAINTAINER="mimas@slitaz.org"
mimas@2018 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
mimas@2018 9 WEB_SITE="http://libtorrent.rakshasa.no/"
mimas@2018 10 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
pankso@10376 11 CROSS="bug: can not run test program"
pankso@10376 12
pankso@10376 13 DEPENDS="curl libsigc++ openssl"
mimas@2018 14 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
mimas@2018 15
mimas@2018 16 # Rules to configure and make the package.
mimas@2018 17 compile_rules()
mimas@2018 18 {
mimas@2018 19 cd $src
mimas@2018 20 ./configure \
pankso@10376 21 --build=$HOST_SYSTEM \
pankso@10376 22 --host=$HOST_SYSTEM &&
pankso@10376 23 make && make install
mimas@2018 24 }
mimas@2018 25
mimas@2018 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mimas@2018 27 genpkg_rules()
mimas@2018 28 {
mimas@2018 29 mkdir -p $fs/usr/lib
mimas@2018 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mimas@2018 31 }