commit
a6d7ad8573
2 changed files with 23 additions and 22 deletions
|
@ -9,14 +9,19 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=libtorrent
|
PKG_NAME:=libtorrent
|
||||||
PKG_VERSION:=0.13.7
|
PKG_VERSION:=0.13.7
|
||||||
|
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)?
|
||||||
PKG_HASH:=86b4b1753385aaddf9e59ad94f1292eee5102139eb57520e84d1af2f04693708
|
PKG_HASH:=86b4b1753385aaddf9e59ad94f1292eee5102139eb57520e84d1af2f04693708
|
||||||
|
|
||||||
|
PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
|
||||||
|
PKG_LICENSE:=GPL-2.0-or-later
|
||||||
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -26,7 +31,6 @@ define Package/libtorrent
|
||||||
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 +libsigcxx +zlib
|
||||||
MAINTAINER:=Rosen Penev <rosenp@gmail.com>
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/libtorrent/description
|
define Package/libtorrent/description
|
||||||
|
@ -37,17 +41,17 @@ define Package/libtorrent/description
|
||||||
official client.
|
official client.
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_LDFLAGS += $(LIBGCC_S)
|
CONFIGURE_ARGS += \
|
||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--enable-aligned \
|
--enable-aligned \
|
||||||
--disable-debug \
|
|
||||||
--enable-openssl \
|
--enable-openssl \
|
||||||
|
--disable-debug \
|
||||||
--disable-instrumentation \
|
--disable-instrumentation \
|
||||||
|
--with-epoll \
|
||||||
--with-zlib=$(STAGING_DIR)/usr \
|
--with-zlib=$(STAGING_DIR)/usr \
|
||||||
--disable-ipv6
|
--without-kqueue \
|
||||||
|
$(DISABLE_IPV6)
|
||||||
|
|
||||||
define Build/InstallDev
|
define Build/InstallDev
|
||||||
$(INSTALL_DIR) $(1)/usr/include
|
$(INSTALL_DIR) $(1)/usr/include
|
||||||
|
|
|
@ -9,20 +9,20 @@ include $(TOPDIR)/rules.mk
|
||||||
|
|
||||||
PKG_NAME:=rtorrent
|
PKG_NAME:=rtorrent
|
||||||
PKG_VERSION:=0.9.7
|
PKG_VERSION:=0.9.7
|
||||||
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://github.com/rakshasa/rtorrent/releases/download/v$(PKG_VERSION)
|
PKG_SOURCE_URL:=https://github.com/rakshasa/rtorrent/releases/download/v$(PKG_VERSION)
|
||||||
PKG_HASH:=5d9842fe48c9582fbea2c7bf9f51412c1ccbba07d059b257039ad53b863fe8bb
|
PKG_HASH:=5d9842fe48c9582fbea2c7bf9f51412c1ccbba07d059b257039ad53b863fe8bb
|
||||||
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
|
||||||
|
|
||||||
PKG_LICENSE:=GPL-2.0
|
PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
|
||||||
|
PKG_LICENSE:=GPL-2.0-or-later
|
||||||
PKG_LICENSE_FILES:=COPYING
|
PKG_LICENSE_FILES:=COPYING
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
PKG_BUILD_PARALLEL:=1
|
|
||||||
PKG_INSTALL:=1
|
PKG_INSTALL:=1
|
||||||
|
PKG_BUILD_PARALLEL:=1
|
||||||
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
|
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
|
@ -31,9 +31,8 @@ define Package/rtorrent/Default
|
||||||
SECTION:=net
|
SECTION:=net
|
||||||
CATEGORY:=Network
|
CATEGORY:=Network
|
||||||
TITLE:=BitTorrent client for ncurses
|
TITLE:=BitTorrent client for ncurses
|
||||||
URL:=http://libtorrent.rakshasa.no/
|
URL:=https://github.com/rakshasa/rtorrent
|
||||||
DEPENDS:=+libcurl +libtorrent +libncursesw +libsigcxx +libpthread
|
DEPENDS:=+libcurl +libtorrent +libncurses +libsigcxx +libpthread
|
||||||
MAINTAINER:=Rosen Penev <rosenp@gmail.com>
|
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/rtorrent/Default/description
|
define Package/rtorrent/Default/description
|
||||||
|
@ -65,20 +64,18 @@ $(call Package/rtorrent/Default/description)
|
||||||
This package is built with xmlrpc support
|
This package is built with xmlrpc support
|
||||||
endef
|
endef
|
||||||
|
|
||||||
TARGET_LDFLAGS += -lz -lpthread -Wl,-rpath-link=$(STAGING_DIR)/usr/lib
|
CONFIGURE_ARGS += \
|
||||||
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-debug \
|
--disable-debug \
|
||||||
--disable-ipv6
|
--with-libcurl="$(STAGING_DIR)/usr" \
|
||||||
|
--with-ncurses \
|
||||||
|
$(if $(CONFIG_IPV6),--enable,--disable)-ipv6
|
||||||
|
|
||||||
ifeq ($(BUILD_VARIANT),rpc)
|
ifeq ($(BUILD_VARIANT),rpc)
|
||||||
CONFIGURE_ARGS += \
|
CONFIGURE_ARGS += --with-xmlrpc-c
|
||||||
--with-xmlrpc-c
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
define Package/rtorrent/install
|
define Package/rtorrent/install
|
||||||
$(INSTALL_DIR) $(1)/usr/bin
|
$(INSTALL_DIR) $(1)/usr/bin
|
||||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtorrent $(1)/usr/bin/
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/rtorrent $(1)/usr/bin/
|
||||||
|
|
Loading…
Reference in a new issue