From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QGHVM-0006Ap-8D for garchives@archives.gentoo.org; Sat, 30 Apr 2011 21:15:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 826BE1C028; Sat, 30 Apr 2011 21:14:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 528FA1C028 for ; Sat, 30 Apr 2011 21:14:41 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BA79A1B402B for ; Sat, 30 Apr 2011 21:14:40 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 269E580507 for ; Sat, 30 Apr 2011 21:14:40 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <8ffd8c6ce46c847ccac7f3d69def762dc42fde9e.mgorny@gentoo> Subject: [gentoo-commits] dev/mgorny:master commit in: eclass/ X-VCS-Repository: dev/mgorny X-VCS-Files: eclass/systemd.eclass X-VCS-Directories: eclass/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 8ffd8c6ce46c847ccac7f3d69def762dc42fde9e Date: Sat, 30 Apr 2011 21:14:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 26258ef400a7ec33ae645a097fecc215 commit: 8ffd8c6ce46c847ccac7f3d69def762dc42fde9e Author: Micha=C5=82 G=C3=B3rny gentoo org> AuthorDate: Sat Apr 30 21:14:35 2011 +0000 Commit: Micha=C5=82 G=C3=B3rny gentoo org> CommitDate: Sat Apr 30 21:14:42 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Ddev/mgorny.git;a=3D= commit;h=3D8ffd8c6c [eclass] Add an example. --- eclass/systemd.eclass | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) diff --git a/eclass/systemd.eclass b/eclass/systemd.eclass index d392fc3..a14aa2c 100644 --- a/eclass/systemd.eclass +++ b/eclass/systemd.eclass @@ -9,6 +9,21 @@ # @DESCRIPTION: # This eclass provides a set of functions to install unit files for # sys-apps/systemd within ebuilds. +# @EXAMPLE: +# +# @CODE +# inherit autotools-utils systemd +#=20 +# src_configure() { +# local myeconfargs=3D( +# --enable-foo +# --disable-bar +# ) +# +# systemd_to_myeconfargs +# autotools-utils_src_configure +# } +# @CODE =20 inherit multilib =20