2023-02-18 17:03:17 +01:00
|
|
|
# Description: BitTorrent client/daemon with command-line and web user interface
|
2023-02-18 14:27:31 +01:00
|
|
|
# URL: https://transmissionbt.com/
|
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: curl libevent
|
2007-12-25 17:56:22 +01:00
|
|
|
|
|
|
|
name=transmission
|
2023-08-29 10:49:45 +02:00
|
|
|
version=4.0.4
|
2023-02-23 09:17:50 +01:00
|
|
|
release=1
|
2023-02-18 14:27:31 +01:00
|
|
|
source=(https://github.com/transmission/transmission/releases/download/$version/$name-$version.tar.xz)
|
2007-12-25 17:56:22 +01:00
|
|
|
|
|
|
|
build() {
|
2023-02-18 14:27:31 +01:00
|
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D RUN_CLANG_TIDY=OFF \
|
|
|
|
-D ENABLE_TESTS=OFF \
|
|
|
|
-D ENABLE_NLS=OFF \
|
|
|
|
-D INSTALL_DOC=ON \
|
|
|
|
-D INSTALL_LIB=OFF \
|
|
|
|
-D ENABLE_WEB=OFF \
|
|
|
|
-D ENABLE_GTK=OFF \
|
|
|
|
-D ENABLE_QT=OFF \
|
|
|
|
-D ENABLE_CLI=ON \
|
|
|
|
-D ENABLE_DAEMON=ON
|
2008-08-08 09:11:22 +02:00
|
|
|
|
2023-02-18 14:27:31 +01:00
|
|
|
cmake --build build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG cmake --install build
|
2008-08-08 09:11:22 +02:00
|
|
|
|
2023-02-18 17:03:17 +01:00
|
|
|
rm -r $PKG/usr/share/doc
|
|
|
|
find $PKG -name '*LICENSE*' -delete
|
2007-12-25 17:56:22 +01:00
|
|
|
}
|