mdevd-0.1.6.4.ebuild 691 B

123456789101112131415161718192021222324252627282930
  1. # Copyright 2021-2024 Gentoo Authors
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=8
  4. DESCRIPTION="A kernel event manager compatible with mdev.conf"
  5. HOMEPAGE="
  6. https://skarnet.org/software/mdevd/
  7. https://github.com/skarnet/mdevd
  8. "
  9. SRC_URI="https://github.com/skarnet/${PN}/archive/v${PV}.tar.gz -> ${PF}.tar.gz"
  10. LICENSE="ISC"
  11. SLOT="0"
  12. KEYWORDS="~amd64 ~arm ~x86"
  13. RDEPEND=">=dev-libs/skalibs-2.14.0.0" # in `INSTALL` it is 2.14.2.0, but it works event with 2.14.0.0
  14. DEPEND="${RDEPEND}"
  15. src_configure() {
  16. econf --with-sysdeps="${EPREFIX}/usr/$(get_libdir)/skalibs"
  17. }
  18. src_install() {
  19. dobin "${PN}"{,-coldplug}
  20. insinto /etc
  21. doins "${FILESDIR}/${PN}.conf"
  22. }