@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := libtorrent
PKG_NAME := libtorrent
PKG_VERSION := 0.13.8
PKG_VERSION := 0.13.8
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/rakshasa/libtorrent/tar.gz/v$( PKG_VERSION) ?
PKG_SOURCE_URL := https://codeload.github.com/rakshasa/libtorrent/tar.gz/v$( PKG_VERSION) ?
@ -22,7 +22,6 @@ PKG_LICENSE_FILES:=COPYING
PKG_FIXUP := autoreconf
PKG_FIXUP := autoreconf
PKG_INSTALL := 1
PKG_INSTALL := 1
PKG_BUILD_PARALLEL := 1
PKG_BUILD_PARALLEL := 1
PKG_REMOVE_FILES := autogen.sh
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
@ -31,7 +30,7 @@ define Package/libtorrent
CATEGORY:= Libraries
CATEGORY:= Libraries
TITLE:= Rakshasa' s BitTorrent library
TITLE:= Rakshasa' s BitTorrent library
URL:= https://rakshasa.github.io/rtorrent/
URL:= https://rakshasa.github.io/rtorrent/
DEPENDS:= +libopenssl +libsigcxx +zlib
DEPENDS:= +libopenssl +libstdcpp +zlib
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b t o r r e n t / d e s c r i p t i o n
d e f i n e P a c k a g e / l i b t o r r e n t / d e s c r i p t i o n
@ -59,14 +58,9 @@ define Build/InstallDev
$( INSTALL_DIR) $( 1) /usr/include
$( INSTALL_DIR) $( 1) /usr/include
$( CP) $( PKG_INSTALL_DIR) /usr/include/torrent $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/include/torrent $( 1) /usr/include/
$( INSTALL_DIR) $( 1) /usr/lib
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libtorrent.{ a,so*} $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libtorrent.a $( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libtorrent.pc $( 1) /usr/lib/pkgconfig/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/libtorrent.pc $( 1) /usr/lib/pkgconfig/
e n d e f
e n d e f
d e f i n e P a c k a g e / l i b t o r r e n t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libtorrent.so.* $( 1) /usr/lib/
e n d e f
$( eval $ ( call BuildPackage ,libtorrent ) )
$( eval $ ( call BuildPackage ,libtorrent ) )