From 4beec8f055fd3b0cc4ef618cce8b52c58dd0ee08 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 6 Sep 2017 17:40:06 +0300 Subject: Add implementation --- build/.gitignore | 1 + build/bootstrap.build | 25 +++++++++++++++++++++++++ build/export.build | 10 ++++++++++ build/root.build | 10 ++++++++++ 4 files changed, 46 insertions(+) create mode 100644 build/.gitignore create mode 100644 build/bootstrap.build create mode 100644 build/export.build create mode 100644 build/root.build (limited to 'build') diff --git a/build/.gitignore b/build/.gitignore new file mode 100644 index 0000000..225c27f --- /dev/null +++ b/build/.gitignore @@ -0,0 +1 @@ +config.build diff --git a/build/bootstrap.build b/build/bootstrap.build new file mode 100644 index 0000000..3034b13 --- /dev/null +++ b/build/bootstrap.build @@ -0,0 +1,25 @@ +# file : build/bootstrap.build +# copyright : Copyright (c) 2016-2017 Code Synthesis Ltd +# license : ISC; see accompanying COPYING file + +project = libpkgconf + +using version +using config +using dist +using test +using install + +# The versioning scheme (after 0.9.12) assumes that each [major?] release has +# it's own number (starting with 2). In any case, as of 1.3.8, version 2 is +# still in the library file name (libpkgconf.so.2.0.0). This probably means +# that the release number is equal to major version + 1 (though in Makefile.am +# they use -version-info 2:0:0 which doesn't mean what they think it means). +# So we just need to watch their Makefile.am for any changes. +# +# See also: http://kaniini.dereferenced.org/2015/07/20/pkgconf-0-9-12-and-future.html +# +if ($version.major == 1) + release_num = 2 +else + fail "increment the release number?" diff --git a/build/export.build b/build/export.build new file mode 100644 index 0000000..ef0b5b5 --- /dev/null +++ b/build/export.build @@ -0,0 +1,10 @@ +# file : build/export.build +# copyright : Copyright (c) 2016-2017 Code Synthesis Ltd +# license : ISC; see accompanying COPYING file + +$out_root/: +{ + include libpkgconf/ +} + +export $out_root/libpkgconf/lib{pkgconf} diff --git a/build/root.build b/build/root.build new file mode 100644 index 0000000..ba11186 --- /dev/null +++ b/build/root.build @@ -0,0 +1,10 @@ +# file : build/root.build +# copyright : Copyright (c) 2016-2017 Code Synthesis Ltd +# license : ISC; see accompanying COPYING file + +c.std = 99 + +using c + +h{*}: extension = h +c{*}: extension = c -- cgit v1.1