void-packages/srcpkgs/qbittorrent/template

28 lines
908 B
Bash
Raw Normal View History

2015-06-23 09:22:09 +02:00
# Template file for 'qbittorrent'
pkgname=qbittorrent
version=3.2.0
revision=2
2015-06-23 09:22:09 +02:00
build_style=gnu-configure
configure_args="--disable-systemd --with-qt5 $(vopt_enable gui) $(vopt_enable webui)"
2015-06-23 09:22:09 +02:00
hostmakedepends="automake libtool pkg-config"
makedepends="boost-devel libtorrent1-devel
qt5-declarative-devel qt5-devel qt5-tools-devel qt5-qmake"
short_desc="Free software alternative to µtorrent"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="http://www.qbittorrent.org/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum="51781cb121ebeda041fb348e649c4bd97888ee8c1d18328bc547d447b960d1b3"
build_options="gui webui"
desc_option_gui="Enable the graphical user interface"
desc_option_webui="Enable the web user interface"
build_options_default="gui"
pre_configure() {
cd ${wrksrc}
qmake
}
do_install() {
make INSTALL_ROOT="${DESTDIR}" install
}