libchronosync: New package for version 0.3.0-9-g097bb44

Change-Id: Ib52fb41d6fa74bcc0bcdaad2f00a08688c94a93c
diff --git a/libchronosync/Makefile b/libchronosync/Makefile
new file mode 100644
index 0000000..9a6ef04
--- /dev/null
+++ b/libchronosync/Makefile
@@ -0,0 +1,16 @@
+# URL for git clone
+GIT_URL=https://github.com/named-data/ChronoSync.git
+
+# Tag name or commit hash for checkout
+GIT_VERSION=097bb448f46b8bd9a5c1f431e824f8f6a169b650
+
+# Package name
+NAME=libchronosync
+
+# Package version
+VERSION=0.3.0-9-g097bb44
+
+# PPA version
+PPA_VERSION=2
+
+include ../packaging.mk
diff --git a/libchronosync/debian/changelog b/libchronosync/debian/changelog
new file mode 100644
index 0000000..79699f9
--- /dev/null
+++ b/libchronosync/debian/changelog
@@ -0,0 +1,19 @@
+libchronosync (0.3.0-9-g097bb44-ppa2~DISTRO) DISTRO; urgency=low
+
+  * New version based on 097bb448f46b8bd9a5c1f431e824f8f6a169b650
+    (https://github.com/named-data/ChronoSync.git)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Mon, 12 Jun 2017 21:56:18 +0000
+
+libchronosync (0.3.0-9-g097bb44-ppa1~DISTRO) DISTRO; urgency=low
+
+  * New version based on 097bb448f46b8bd9a5c1f431e824f8f6a169b650
+    (https://github.com/named-data/ChronoSync.git)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Mon, 12 Jun 2017 21:51:36 +0000
+
+libchronosync (0.0.0-ppa0~DISTRO) DISTRO; urgency=low
+
+  * Initial release
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Wed, 7 May 2014 13:58:30 -0800
diff --git a/libchronosync/debian/compat b/libchronosync/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/libchronosync/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/libchronosync/debian/control b/libchronosync/debian/control
new file mode 100644
index 0000000..1c89655
--- /dev/null
+++ b/libchronosync/debian/control
@@ -0,0 +1,38 @@
+Source: libchronosync
+Priority: extra
+Maintainer: Alexander Afanasyev <alexander.afanasyev@ucla.edu>
+Build-Depends: debhelper (>= 8.0.0),
+ python (>= 2.7.0),
+ pkg-config (>= 0.26),
+ python-sphinx (>= 1.1.3),
+ libboost-all-dev (>= 1.53.0),
+ ndn-cxx-dev (>= 0.5.1-60)
+Standards-Version: 3.9.2
+Section: libs
+Homepage: http://named-data.net/doc/ChronoSync/
+Vcs-Git: git://github.com/named-data/ChronoSync.git
+Vcs-Browser: http://github.com/named-data/ChronoSync
+
+Package: libchronosync
+Section: libs
+Architecture: i386 amd64 arm64 armel armhf ppc64el
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Sync library for multiuser realtime applications for NDN
+
+Package: libchronosync-dev
+Section: libdevel
+Architecture: i386 amd64 arm64 armel armhf ppc64el
+Depends: python (>= 2.7.0),
+ pkg-config (>= 0.26),
+ ndn-cxx-dev (>= 0.5.1-60),
+ libchronosync (= ${binary:Version})
+Description: Development headers and libraries of sync library for multiuser realtime applications for NDN
+
+Package: libchronosync-dbg
+Architecture: any
+Section: debug
+Priority: extra
+Depends:
+ libchronosync (= ${binary:Version}),
+ ${misc:Depends}
+Description: debugging symbols for libchronosync
diff --git a/libchronosync/debian/copyright b/libchronosync/debian/copyright
new file mode 100644
index 0000000..4df321d
--- /dev/null
+++ b/libchronosync/debian/copyright
@@ -0,0 +1,38 @@
+Format: http://dep.debian.net/deps/dep5
+Upstream-Name: ChronoSync
+Source: http://github.com/named-data/ChronoSync
+
+Files: *
+Copyright:  Copyright (c) 2013-2016 Regents of the University of California.
+License: LGPL-3+
+ ChronoSync library is free software: you can redistribute it and/or modify it under the
+ terms of the GNU Lesser General Public License as published by the Free Software
+ Foundation, either version 3 of the License, or (at your option) any later version.
+ .
+ ChronoSync library 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 Lesser General Public License for more details.
+ .
+ You should have received copies of the GNU General Public License and GNU Lesser
+ General Public License along with ChronoSync, e.g., in COPYING.md file.  If not, see
+ <http://www.gnu.org/licenses/>.
+ .
+ See AUTHORS.md of ChronoSync source for complete list of ChronoSync authors and contributors.
+
+Files: debian/*
+Copyright: 2013-2016, Alexander Afanasyev <alexander.afanasyev@ucla.edu>
+License: Apache 2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+     http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache License 2.0 can
+ be found in "/usr/share/common-licenses/Apache-2.0"
diff --git a/libchronosync/debian/libchronosync-dev.dirs b/libchronosync/debian/libchronosync-dev.dirs
new file mode 100644
index 0000000..8216000
--- /dev/null
+++ b/libchronosync/debian/libchronosync-dev.dirs
@@ -0,0 +1,3 @@
+usr/lib
+usr/lib/pkgconfig
+usr/include
diff --git a/libchronosync/debian/libchronosync-dev.install b/libchronosync/debian/libchronosync-dev.install
new file mode 100644
index 0000000..9b90213
--- /dev/null
+++ b/libchronosync/debian/libchronosync-dev.install
@@ -0,0 +1,2 @@
+usr/include/*
+usr/lib*/*/pkgconfig/*
diff --git a/libchronosync/debian/libchronosync.install b/libchronosync/debian/libchronosync.install
new file mode 100644
index 0000000..b922ded
--- /dev/null
+++ b/libchronosync/debian/libchronosync.install
@@ -0,0 +1 @@
+usr/lib/*/*.so*
diff --git a/libchronosync/debian/rules b/libchronosync/debian/rules
new file mode 100755
index 0000000..8081297
--- /dev/null
+++ b/libchronosync/debian/rules
@@ -0,0 +1,43 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+# export DH_VERBOSE=1
+
+LDFLAGS := $(shell dpkg-buildflags --get LDFLAGS)
+CXXFLAGS := $(shell dpkg-buildflags --get CXXFLAGS)
+CXXFLAGS += -std=c++11
+LIBDIR := /usr/lib/$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
+%:
+	dh $@ --parallel
+
+override_dh_auto_configure:
+	./waf configure --prefix=/usr --sysconfdir=/etc --libdir="$(LIBDIR)" --localstatedir=/var --boost-libs="$(LIBDIR)"
+
+override_dh_auto_build:
+	./waf build
+
+override_dh_auto_install:
+	./waf install --destdir=debian/tmp
+
+override_dh_auto_clean:
+	./waf distclean
+
+override_dh_clean:
+	dh_clean
+	./waf distclean
+	rm -rf .waf-1*
+	rm -f .waf-tools/*.pyc
+	rm -f docs/*.pyc
+
+override_dh_auto_test:
+
+.PHONY: override_dh_strip
+override_dh_strip:
+	dh_strip --dbg-package=libchronosync-dbg
diff --git a/libchronosync/debian/source/format b/libchronosync/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/libchronosync/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)