aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/gems/extra_distribution_data.hh
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-08-22 20:31:19 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2008-08-22 20:31:45 +0100
commit1b8bbb1a910d35e4e3da18d976ed96d965eb55aa (patch)
treed88ad63fa14ca154ed02ed0afe847f4a20fa7f22 /paludis/repositories/gems/extra_distribution_data.hh
parent343a7e259402dc193d8de4be6d189791b8234f47 (diff)
downloadpaludis-1b8bbb1a910d35e4e3da18d976ed96d965eb55aa.tar.gz
paludis-1b8bbb1a910d35e4e3da18d976ed96d965eb55aa.tar.xz
Split up distribution configs.
Diffstat (limited to 'paludis/repositories/gems/extra_distribution_data.hh')
-rw-r--r--paludis/repositories/gems/extra_distribution_data.hh45
1 files changed, 45 insertions, 0 deletions
diff --git a/paludis/repositories/gems/extra_distribution_data.hh b/paludis/repositories/gems/extra_distribution_data.hh
new file mode 100644
index 0000000..5f8c211
--- /dev/null
+++ b/paludis/repositories/gems/extra_distribution_data.hh
@@ -0,0 +1,45 @@
+/* vim: set sw=4 sts=4 et foldmethod=syntax : */
+
+/*
+ * Copyright (c) 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
+ */
+
+#ifndef PALUDIS_GUARD_PALUDIS_REPOSITORIES_GEMS_EXTRA_DISTRIBUTION_DATA_HH
+#define PALUDIS_GUARD_PALUDIS_REPOSITORIES_GEMS_EXTRA_DISTRIBUTION_DATA_HH 1
+
+#include <paludis/distribution-fwd.hh>
+#include <paludis/util/named_value.hh>
+#include <string>
+
+namespace paludis
+{
+ namespace n
+ {
+ struct default_buildroot;
+ }
+
+ namespace gems
+ {
+ struct GemsDistribution
+ {
+ NamedValue<n::default_buildroot, std::string> default_buildroot;
+ };
+
+ typedef ExtraDistributionData<GemsDistribution> GemsExtraDistributionData;
+ }
+}
+
+#endif