wok-6.x annotate libtorrent/receipt @ rev 15797
Up: clex (4.6.patch6)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Jan 19 14:41:49 2014 +0100 (2014-01-19) |
parents | e8dfa7a938d8 |
children | b18dfc65984c |
rev | line source |
---|---|
mimas@2018 | 1 # SliTaz package receipt. |
mimas@2018 | 2 |
mimas@2018 | 3 PACKAGE="libtorrent" |
slaxemulator@11155 | 4 VERSION="0.12.9" |
mimas@2018 | 5 CATEGORY="network" |
mimas@2018 | 6 SHORT_DESC="Torrent library for rtorrent" |
mimas@2018 | 7 MAINTAINER="mimas@slitaz.org" |
pascal@14718 | 8 LICENSE="GPL2" |
mimas@2018 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
mimas@2018 | 10 WEB_SITE="http://libtorrent.rakshasa.no/" |
mimas@2018 | 11 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" |
pankso@10376 | 12 CROSS="bug: can not run test program" |
pankso@10376 | 13 |
pankso@10376 | 14 DEPENDS="curl libsigc++ openssl" |
mimas@2018 | 15 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev" |
mimas@2018 | 16 |
mimas@2018 | 17 # Rules to configure and make the package. |
mimas@2018 | 18 compile_rules() |
mimas@2018 | 19 { |
mimas@2018 | 20 cd $src |
mimas@2018 | 21 ./configure \ |
pankso@10376 | 22 --build=$HOST_SYSTEM \ |
pankso@10376 | 23 --host=$HOST_SYSTEM && |
pankso@10376 | 24 make && make install |
mimas@2018 | 25 } |
mimas@2018 | 26 |
mimas@2018 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
mimas@2018 | 28 genpkg_rules() |
mimas@2018 | 29 { |
mimas@2018 | 30 mkdir -p $fs/usr/lib |
pascal@14718 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
mimas@2018 | 32 } |