aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/e/ebuild/kdebuild-1
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-19 09:14:21 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-03-19 09:14:21 +0000
commit6a52d0f19f9e35338990411e9374b19cc1be37a9 (patch)
tree3c25e29a78beb9effdc7fd9c6bbd3538606eecca /paludis/repositories/e/ebuild/kdebuild-1
parent84a20c706b382622a26138287a964acc17aeb2fa (diff)
downloadpaludis-6a52d0f19f9e35338990411e9374b19cc1be37a9.tar.gz
paludis-6a52d0f19f9e35338990411e9374b19cc1be37a9.tar.xz
kdebuild-1 support. Fixes: ticket:500, ticket:523, ticket:524, ticket:526, ticket:528, ticket:530, ticket:531, ticket:532, ticket:533, ticket:534, ticket:535, ticket:536, ticket:537, ticket:538, ticket:539
Diffstat (limited to 'paludis/repositories/e/ebuild/kdebuild-1')
-rw-r--r--paludis/repositories/e/ebuild/kdebuild-1/Makefile.am38
-rw-r--r--paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash31
2 files changed, 69 insertions, 0 deletions
diff --git a/paludis/repositories/e/ebuild/kdebuild-1/Makefile.am b/paludis/repositories/e/ebuild/kdebuild-1/Makefile.am
new file mode 100644
index 000000000..28f9af7eb
--- /dev/null
+++ b/paludis/repositories/e/ebuild/kdebuild-1/Makefile.am
@@ -0,0 +1,38 @@
+MAINTAINERCLEANFILES = Makefile.in
+CLEANFILES = *~
+SUBDIRS = .
+
+libexecprogkdebuild1dir = $(libexecdir)/paludis/kdebuild-1
+
+libexecprogkdebuild1_SCRIPTS = \
+ output_functions.bash
+
+TESTS_ENVIRONMENT = env \
+ PALUDIS_EBUILD_DIR="$(top_srcdir)/paludis/repositories/e/ebuild/" \
+ PALUDIS_EBUILD_DIR_FALLBACK="`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/paludis/repositories/e/ebuild/`" \
+ PALUDIS_EBUILD_MODULE_SUFFIXES="1 0" \
+ PALUDIS_EAPIS_DIR="$(top_srcdir)/paludis/eapis/" \
+ PALUDIS_DISTRIBUTIONS_DIR="$(top_srcdir)/paludis/distributions/" \
+ PALUDIS_DISTRIBUTION="gentoo" \
+ PALUDIS_EBUILD_LOG_LEVEL="warning" \
+ TOP_BUILD_DIR="`$(top_srcdir)/paludis/repositories/e/ebuild/utils/canonicalise $(top_builddir)/`" \
+ TEST_SCRIPT_DIR="$(srcdir)/" \
+ bash $(top_srcdir)/test/run_test.sh $(top_srcdir)/paludis/repositories/e/ebuild/run_test.bash
+
+TESTS =
+check_SCRIPTS = $(TESTS)
+
+EXTRA_DIST = $(libexecprog1_SCRIPTS)
+
+built-sources : $(BUILT_SOURCES)
+ for s in `echo $(SUBDIRS) | tr -d .` ; do $(MAKE) -C $$s built-sources || exit 1 ; done
+
+distcheck-deps-local : $(DISTCHECK_DEPS)
+
+distcheck-deps : distcheck-deps-subdirs
+
+distcheck-deps-subdirs :
+ for s in $(SUBDIRS) . ; do if test x$$s = x. ; then $(MAKE) distcheck-deps-local || exit 1 ; \
+ else $(MAKE) -C $$s distcheck-deps || exit 1 ; fi ; done
+
+
diff --git a/paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash b/paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash
new file mode 100644
index 000000000..aca373934
--- /dev/null
+++ b/paludis/repositories/e/ebuild/kdebuild-1/output_functions.bash
@@ -0,0 +1,31 @@
+#!/bin/bash
+# vim: set sw=4 sts=4 et :
+
+# Copyright (c) 2006, 2007, 2008 Ciaran McCreesh
+#
+# This file is part of the Paludis package manager. Paludis is free software;
+# you can redistribute it and/or modify it under the terms of the GNU General
+# Public License, version 2, as published by the Free Software Foundation.
+#
+# Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+# FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+# details.
+#
+# You should have received a copy of the GNU General Public License along with
+# this program; if not, write to the Free Software Foundation, Inc., 59 Temple
+# Place, Suite 330, Boston, MA 02111-1307 USA
+
+ebuild_notice()
+{
+ [[ -z "${PALUDIS_PIPE_COMMANDS_SUPPORTED}" ]] && return
+ paludis_pipe_command LOG "$EAPI" "$@" >/dev/null
+}
+
+ebuild_section()
+{
+ echo -ne "${COLOUR_CYAN}>>>${COLOUR_NORMAL} "
+ echo "$@"
+}
+
+