mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
@@ -1,3 +1,2 @@
|
||||
DIST smartdns-41.tar.gz 562057 BLAKE2B 7e30fa02f4e743a9de42d69c7ce12d8d2ce39363507d56279d6843305b88decddc561bfa3cc16d83d937a881dc87e2cd0000ef2945eb3ca3e0b42832e363d810 SHA512 85d8523f62f80533bdbdcaf3fd50e4b36cfb4898f8af6221cd06cae69fe9509d0a6a6f8ef4effee86c36caa5090f97d11b4fed4dabed66ad5d9b665f71247315
|
||||
DIST smartdns-42.tar.gz 567079 BLAKE2B a42724f4aa540bf5f07ddebe46e75f16cd69098461b0f9a009a53a9570ff1bdc9ad605dfad79f94d5901ec21bdd3f91848dedce29cef3bf8a563ba94f4a76bb8 SHA512 7ad4ffbad056e84894dd23a18396afe6174a1137fa3edee4e12bf1487dd40d91158c89fd9e3c894603a51f639826acccdfdf1ddb8a25e77158dfe5bd54eb6f20
|
||||
DIST smartdns-43.tar.gz 572029 BLAKE2B 8f4ec3b1b1a804a6624107ed3d97e8015690db9c405fc52d1e34ac9bda280ef0785b7d9648dfd41809a1f729679b6241f36b3c7a4dc88a60e77b2d0ca463ca69 SHA512 ab4ce7ac5fe05173a660f8dce61e7cc0ec8375ff7d64d08e854f73e5cfd78fec702220f076b75efe9518334a384b9689898d5c2856cc506d294b5325733bb9c6
|
||||
|
||||
@@ -1,33 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit systemd
|
||||
DESCRIPTION="A local DNS server returns the fastest access results"
|
||||
HOMEPAGE="https://github.com/pymumu/smartdns"
|
||||
SRC_URI="https://github.com/pymumu/smartdns/archive/refs/tags/Release${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="dev-libs/openssl:0="
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
S="${WORKDIR}/${PN}-Release${PV}"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i -e "/install .*default /d" \
|
||||
-e "/install .*init.d /d" Makefile || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SYSTEMDSYSTEMUNITDIR="$(systemd_get_systemunitdir)" install
|
||||
|
||||
newconfd "${FILESDIR}"/smartdns.confd smartdns
|
||||
newinitd "${FILESDIR}"/smartdns.initd smartdns
|
||||
}
|
||||
Reference in New Issue
Block a user