parent
ec682dd64b
commit
0d23639497
@ -1 +1,2 @@
|
|||||||
DIST TorrServer-linux-amd64-105 14794752 BLAKE2B 6d3b6836596fbc519a81780b4ca51ad39493b076b70fc0f7de3aace46fde45165239070bc0bfcd791e3997ef4f3b532048dbefc9cc661787aaeb5839c3bef87f SHA512 d4e6a9a4624585c393bd652d44379aad2c30401d8b6989137ac1afcd465a4405c23865985b7c73bb71faf57cf1b7694bab7de02892ac6a6dae8ae3ea346062cb
|
DIST TorrServer-linux-amd64-105 14794752 BLAKE2B 6d3b6836596fbc519a81780b4ca51ad39493b076b70fc0f7de3aace46fde45165239070bc0bfcd791e3997ef4f3b532048dbefc9cc661787aaeb5839c3bef87f SHA512 d4e6a9a4624585c393bd652d44379aad2c30401d8b6989137ac1afcd465a4405c23865985b7c73bb71faf57cf1b7694bab7de02892ac6a6dae8ae3ea346062cb
|
||||||
|
DIST TorrServer-linux-amd64-106 18915328 BLAKE2B 449d66be1c17188b571940d74abb06e7be21e7e67c6df73fbb5a2589e2419e9245219867fcdb82cd1fdf6af76a2d8ad0390f3ced163ce2ec3e6188fb24a20c8c SHA512 afaf28674e4350ad6802f21f7a6f0d6a259cbd8bdc3fa240d73247bfb776a64959de08003edfe15975836ee21514bed4f418bbc3d56314de273f8c1b3858c7f3
|
||||||
|
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 2019-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="TorrServer, stream torrent to http"
|
||||||
|
HOMEPAGE="https://github.com/YouROK/TorrServer"
|
||||||
|
SRC_URI="
|
||||||
|
amd64? ( https://github.com/YouROK/TorrServer/releases/download/MatriX.${PV}/TorrServer-linux-amd64 -> TorrServer-linux-amd64-${PV} )
|
||||||
|
"
|
||||||
|
|
||||||
|
KEYWORDS="amd64"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
RESTRICT="strip"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
acct-user/torrserver
|
||||||
|
"
|
||||||
|
|
||||||
|
QA_PREBUILT="*"
|
||||||
|
|
||||||
|
S="${WORKDIR}"
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
cp -v ${DISTDIR}/${A} ${S}
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dodir /opt/torrserver
|
||||||
|
cp "${S}"/TorrServer-linux-amd64-${PV} "${ED}"/opt/torrserver/TorrServer-linux-amd64 || die
|
||||||
|
fperms 0755 /opt/torrserver/TorrServer-linux-amd64
|
||||||
|
newinitd "${FILESDIR}"/torrserver.initd torrserver
|
||||||
|
doenvd "${FILESDIR}"/99torrserver
|
||||||
|
}
|
Loading…
Reference in new issue