summaryrefslogtreecommitdiff
path: root/package/transmission/Makefile
blob: 900e53d42a5e36a7d5e3bca67d0d996beb6ca512 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		transmission
PKG_VERSION:=		2.92
PKG_RELEASE:=		1
PKG_HASH:=		3a8d045c306ad9acb7bf81126939b9594553a388482efa0ec1bfb67b22acd35f
PKG_DESCR:=		torrent client
PKG_SECTION:=		app/p2p
PKG_BUILDDEP:=		libressl libevent curl
PKG_DEPENDS:=		libressl libevent libcurl
PKG_NEEDS:=		threads rt
PKG_URL:=		http://www.transmissionbt.com
PKG_SITES:=		http://download.transmissionbt.com/files/

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,TRANSMISSION,transmission,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))

TARGET_LDFLAGS+=	-liconv

CONFIGURE_ARGS+=	--without-gtk

transmission-install:
	$(INSTALL_DIR) $(IDIR_TRANSMISSION)/usr/share
	$(CP) $(WRKINST)/usr/share/transmission \
		$(IDIR_TRANSMISSION)/usr/share
	$(INSTALL_DIR) $(IDIR_TRANSMISSION)/usr/bin
	$(CP) $(WRKINST)/usr/bin/transmission* \
		$(IDIR_TRANSMISSION)/usr/bin

include $(ADK_TOPDIR)/mk/pkg-bottom.mk