wok-next annotate libtorrent/receipt @ rev 12727
Up: get-java6-jre (1.1.0)
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat May 05 10:28:22 2012 +0000 (2012-05-05) |
parents | d7a6899842fd |
children | 6eff489aa802 |
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" |
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 } |