wok-next view libtorrent/receipt @ rev 20553
Up cookutils (1045), tazpkg (963)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 06 13:36:51 2018 +0300 (2018-04-06) |
parents | c4e53a39395a |
children | 5841522533ec |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libtorrent"
4 VERSION="0.13.3"
5 CATEGORY="network"
6 SHORT_DESC="Torrent library for rtorrent"
7 MAINTAINER="mimas@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://libtorrent.rakshasa.no/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL"
14 CROSS_BUGS="bug: can not run test program"
16 BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev"
17 SPLIT="libtorrent-dev"
19 compile_rules() {
20 ./configure \
21 $CONFIGURE_ARGS &&
22 make && make install
23 }
25 genpkg_rules() {
26 case $PACKAGE in
27 libtorrent)
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 DEPENDS="curl libsigc++ openssl"
31 ;;
32 *-dev)
33 mkdir -p $fs/usr/lib/pkgconfig
34 cp -a $install/usr/include $fs/usr
35 cp -a $install/usr/lib/*.*a $fs/usr/lib
36 cp -a $install/usr/lib/pkgconfig/*.pc $fs/usr/lib/pkgconfig
37 ;;
38 esac
39 }