# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/eclass/systemd.eclass,v 1.11 2012/01/07 17:53:47 mgorny Exp $ # @ECLASS: systemd.eclass # @MAINTAINER: # mgorny@gentoo.org # @BLURB: helper functions to install systemd units # @DESCRIPTION: # This eclass provides a set of functions to install unit files for # sys-apps/systemd within ebuilds. # @EXAMPLE: # # @CODE # inherit autotools-utils systemd # # src_configure() { # local myeconfargs=( # --enable-foo # --disable-bar # ) # # systemd_to_myeconfargs # autotools-utils_src_configure # } # @CODE case ${EAPI:-0} in 0|1|2|3|4) ;; *) die "${ECLASS}.eclass API in EAPI ${EAPI} not yet established." esac # Block systemd version without the migration helper. DEPEND="!