diff options
author | Justin Lecher <jlec@gentoo.org> | 2011-10-08 13:03:36 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2011-10-08 13:03:36 +0000 |
commit | 4f9968ff4e6466498689a3582ed81ecb294f8017 (patch) | |
tree | 3cbb43fb273a17c47b909b7001154e196a630d3c /sys-apps | |
parent | amd64 stable wrt #385799 (diff) | |
download | gentoo-2-4f9968ff4e6466498689a3582ed81ecb294f8017.tar.gz gentoo-2-4f9968ff4e6466498689a3582ed81ecb294f8017.tar.bz2 gentoo-2-4f9968ff4e6466498689a3582ed81ecb294f8017.zip |
Respect FLAGS*, #334753
(Portage version: 2.2.0_alpha62/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/turbotail/ChangeLog | 8 | ||||
-rw-r--r-- | sys-apps/turbotail/metadata.xml | 2 | ||||
-rw-r--r-- | sys-apps/turbotail/turbotail-0.3-r1.ebuild | 39 |
3 files changed, 47 insertions, 2 deletions
diff --git a/sys-apps/turbotail/ChangeLog b/sys-apps/turbotail/ChangeLog index e0fcf9086b41..b80f2785862c 100644 --- a/sys-apps/turbotail/ChangeLog +++ b/sys-apps/turbotail/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-apps/turbotail # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/turbotail/ChangeLog,v 1.14 2011/01/07 18:13:42 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/turbotail/ChangeLog,v 1.15 2011/10/08 13:03:36 jlec Exp $ + +*turbotail-0.3-r1 (08 Oct 2011) + + 08 Oct 2011; Justin Lecher <jlec@gentoo.org> +turbotail-0.3-r1.ebuild, + metadata.xml: + Respect FLAGS*, #334753 07 Jan 2011; Jeroen Roovers <jer@gentoo.org> turbotail-0.3.ebuild: Use the virtual. Set RDEPEND. diff --git a/sys-apps/turbotail/metadata.xml b/sys-apps/turbotail/metadata.xml index 96a2d586367d..659da0ca93c2 100644 --- a/sys-apps/turbotail/metadata.xml +++ b/sys-apps/turbotail/metadata.xml @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>base-system</herd> + <herd>base-system</herd> </pkgmetadata> diff --git a/sys-apps/turbotail/turbotail-0.3-r1.ebuild b/sys-apps/turbotail/turbotail-0.3-r1.ebuild new file mode 100644 index 000000000000..47748cfb436c --- /dev/null +++ b/sys-apps/turbotail/turbotail-0.3-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/turbotail/turbotail-0.3-r1.ebuild,v 1.1 2011/10/08 13:03:36 jlec Exp $ + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="Drop-in replacement for 'tail' which uses the kernel DNOTIFY-api" +HOMEPAGE="http://www.vanheusden.com/turbotail/" +SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="fam" + +DEPEND="fam? ( virtual/fam )" +RDEPEND="${DEPEND}" + +src_compile() { + local myconf mylibs + if use fam; then + myconf="-DUSE_FAM" + mylibs="-lfam" + else + myconf="-DUSE_DNOTIFY" + fi + + echo "$(tc-getCC) ${CFLAGS} ${myconf} -DVERSION=\"${PV}\" -c ${PN}.c" + $(tc-getCC) ${CFLAGS} ${myconf} -DVERSION=\"${PV}\" -c ${PN}.c || die + echo "$(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.o ${mylibs}" + $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o ${PN} ${PN}.o ${mylibs} || die +} + +src_install() { + dobin turbotail + dodoc readme.txt +} |