# SliTaz package receipt. PACKAGE="libtorrent" VERSION="0.12.9" CATEGORY="network" SHORT_DESC="Torrent library for rtorrent" MAINTAINER="mimas@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://libtorrent.rakshasa.no/" WGET_URL="http://libtorrent.rakshasa.no/downloads/$TARBALL" CROSS="bug: can not run test program" DEPENDS="curl libsigc++ openssl" BUILD_DEPENDS="curl-dev libsigc++-dev openssl-dev" # Rules to configure and make the package. compile_rules() { cd $src ./configure \ --build=$HOST_SYSTEM \ --host=$HOST_SYSTEM && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/*.so* $fs/usr/lib }