[pkg-d-commits] [mustache-d] 01/04: Patch in Meson
Matthias Klumpp
mak at moszumanska.debian.org
Mon Oct 3 21:40:25 UTC 2016
This is an automated email from the git hooks/post-receive script.
mak pushed a commit to branch master
in repository mustache-d.
commit 9ae8ad7397d82ba72ece73cd0fd59b2f0f23a89e
Author: Matthias Klumpp <mak at debian.org>
Date: Mon Oct 3 23:33:44 2016 +0200
Patch in Meson
---
debian/patches/01_add-meson.patch | 42 +++++++++++++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 43 insertions(+)
diff --git a/debian/patches/01_add-meson.patch b/debian/patches/01_add-meson.patch
new file mode 100644
index 0000000..c62e152
--- /dev/null
+++ b/debian/patches/01_add-meson.patch
@@ -0,0 +1,42 @@
+From 4e694202b02014871a767782606bacaf1422a3e2 Mon Sep 17 00:00:00 2001
+From: Matthias Klumpp <matthias at tenstral.net>
+Date: Mon, 3 Oct 2016 23:26:09 +0200
+Subject: [PATCH] Add Meson build configuration
+
+---
+ meson.build | 26 ++++++++++++++++++++++++++
+ 1 file changed, 26 insertions(+)
+ create mode 100644 meson.build
+
+diff --git a/meson.build b/meson.build
+new file mode 100644
+index 0000000..7825f0c
+--- /dev/null
++++ b/meson.build
+@@ -0,0 +1,26 @@
++project('mustache-d', 'd')
++
++project_version = '0.1.1'
++project_soversion = '0'
++
++src_dir = include_directories('src/')
++pkgc = import('pkgconfig')
++
++mustache_src = [
++ 'src/mustache.d'
++]
++install_headers(mustache_src, subdir: 'd/mustache-d')
++
++mustache_lib = static_library('mustache-d',
++ [mustache_src],
++ include_directories: [src_dir],
++ install: true,
++ version: project_version,
++ soversion: project_soversion
++)
++pkgc.generate(name: 'mustache-d',
++ libraries: mustache_lib,
++ subdirs: 'd/mustache-d',
++ version: project_version,
++ description: 'Mustache template engine for D.'
++)
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a7b5af3
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_add-meson.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-d/mustache-d.git
More information about the pkg-d-commits
mailing list