net-firewall/hblock: use dobin to install binary; add bdepend
Package-Manager: Portage-3.0.4, Repoman-3.0.1 Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
parent
c72a1b3777
commit
f0f95ac9e7
@ -22,23 +22,20 @@ LICENSE="MIT"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
COMMON_DEPEND="
|
DEPEND="
|
||||||
sys-apps/baselayout
|
sys-apps/baselayout
|
||||||
"
|
"
|
||||||
DEPEND="
|
BDEPEND="
|
||||||
${COMMON_DEPEND}
|
${DEPEND}
|
||||||
sys-apps/coreutils
|
sys-apps/coreutils
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${COMMON_DEPEND}
|
${DEPEND}
|
||||||
"
|
"
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
README.md
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
# Upstream provides shasums in the repo - let's use them
|
# Upstream provides shasums in the repo - let's use them
|
||||||
cd "${S}" || die
|
cd "${S}" || die
|
||||||
sha256sum -c "${S}"/SHA256SUMS || die "Shasum check failed"
|
sha256sum -c "${S}"/SHA256SUMS || die "Shasum check failed"
|
||||||
@ -51,9 +48,10 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
exeinto "/usr/bin"
|
einstalldocs
|
||||||
doexe "${PN}"
|
|
||||||
|
dobin "${PN}"
|
||||||
|
|
||||||
systemd_dounit "${S}"/resources/systemd/hblock.service
|
systemd_dounit "${S}"/resources/systemd/hblock.service
|
||||||
systemd_dounit "${S}"/resources/systemd/hblock.timer
|
systemd_dounit "${S}"/resources/systemd/hblock.timer
|
||||||
einstalldocs
|
|
||||||
}
|
}
|
||||||
|
@ -22,23 +22,20 @@ LICENSE="MIT"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
COMMON_DEPEND="
|
DEPEND="
|
||||||
sys-apps/baselayout
|
sys-apps/baselayout
|
||||||
"
|
"
|
||||||
DEPEND="
|
BDEPEND="
|
||||||
${COMMON_DEPEND}
|
${DEPEND}
|
||||||
sys-apps/coreutils
|
sys-apps/coreutils
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${COMMON_DEPEND}
|
${DEPEND}
|
||||||
"
|
"
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
README.md
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
# Upstream provides shasums in the repo - let's use them
|
# Upstream provides shasums in the repo - let's use them
|
||||||
cd "${S}" || die
|
cd "${S}" || die
|
||||||
sha256sum -c "${S}"/SHA256SUMS || die "Shasum check failed"
|
sha256sum -c "${S}"/SHA256SUMS || die "Shasum check failed"
|
||||||
@ -51,9 +48,10 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
exeinto "/usr/bin"
|
einstalldocs
|
||||||
doexe "${PN}"
|
|
||||||
|
dobin "${PN}"
|
||||||
|
|
||||||
systemd_dounit "${S}"/resources/systemd/hblock.service
|
systemd_dounit "${S}"/resources/systemd/hblock.service
|
||||||
systemd_dounit "${S}"/resources/systemd/hblock.timer
|
systemd_dounit "${S}"/resources/systemd/hblock.timer
|
||||||
einstalldocs
|
|
||||||
}
|
}
|
||||||
|
@ -22,23 +22,20 @@ LICENSE="MIT"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
COMMON_DEPEND="
|
DEPEND="
|
||||||
sys-apps/baselayout
|
sys-apps/baselayout
|
||||||
"
|
"
|
||||||
DEPEND="
|
BDEPEND="
|
||||||
${COMMON_DEPEND}
|
${DEPEND}
|
||||||
sys-apps/coreutils
|
sys-apps/coreutils
|
||||||
"
|
"
|
||||||
RDEPEND="
|
RDEPEND="
|
||||||
${COMMON_DEPEND}
|
${DEPEND}
|
||||||
"
|
"
|
||||||
|
|
||||||
DOCS=(
|
|
||||||
README.md
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
default
|
default
|
||||||
|
|
||||||
# Upstream provides shasums in the repo - let's use them
|
# Upstream provides shasums in the repo - let's use them
|
||||||
cd "${S}" || die
|
cd "${S}" || die
|
||||||
sha256sum -c "${S}"/SHA256SUMS || die "Shasum check failed"
|
sha256sum -c "${S}"/SHA256SUMS || die "Shasum check failed"
|
||||||
@ -51,9 +48,10 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
exeinto "/usr/bin"
|
einstalldocs
|
||||||
doexe "${PN}"
|
|
||||||
|
dobin "${PN}"
|
||||||
|
|
||||||
systemd_dounit "${S}"/resources/systemd/hblock.service
|
systemd_dounit "${S}"/resources/systemd/hblock.service
|
||||||
systemd_dounit "${S}"/resources/systemd/hblock.timer
|
systemd_dounit "${S}"/resources/systemd/hblock.timer
|
||||||
einstalldocs
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user