wok-6.x view libtorrent/receipt @ rev 11585
gecko-mediaplayer: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 17:32:11 2012 +0100 (2012-01-08) |
parents | d7a6899842fd |
children | 6eff489aa802 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libtorrent"
4 VERSION="0.12.9"
5 CATEGORY="network"
6 SHORT_DESC="Torrent library for rtorrent"
7 MAINTAINER="mimas@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://libtorrent.rakshasa.no/"
10 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
11 CROSS="bug: can not run test program"
13 DEPENDS="curl libsigc++ openssl"
14 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --build=$HOST_SYSTEM \
22 --host=$HOST_SYSTEM &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }