diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-10 23:34:33 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-10 23:34:33 +0000 |
commit | 0771aa27d30f102abe2c5733a138ffe570da4d15 (patch) | |
tree | 1ce3f24ab882caa90bf65381e4f0794872fc7d93 /net-dns/smartdns/smartdns-45.ebuild | |
parent | 0bb42730e8fc9c8e571f12e3189c6c6f8d532c24 (diff) |
gentoo auto-resync : 10:02:2024 - 23:34:33
Diffstat (limited to 'net-dns/smartdns/smartdns-45.ebuild')
-rw-r--r-- | net-dns/smartdns/smartdns-45.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/net-dns/smartdns/smartdns-45.ebuild b/net-dns/smartdns/smartdns-45.ebuild new file mode 100644 index 000000000000..9d01b7f6763a --- /dev/null +++ b/net-dns/smartdns/smartdns-45.ebuild @@ -0,0 +1,32 @@ +# Copyright 2022-2024 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}" + +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 +} |