repo-ng: Update to ndn-cxx 0.5.1

Change-Id: Ic76c591007d6c4d4dd4df00261da9c5fe02e6c8f
diff --git a/repo-ng/Makefile b/repo-ng/Makefile
index 475edf0..27cb063 100644
--- a/repo-ng/Makefile
+++ b/repo-ng/Makefile
@@ -11,6 +11,6 @@
 VERSION=0.0.10
 
 # PPA version
-PPA_VERSION=1
+PPA_VERSION=2
 
 include ../packaging.mk
diff --git a/repo-ng/debian/changelog b/repo-ng/debian/changelog
index ea43059..e9cc68b 100644
--- a/repo-ng/debian/changelog
+++ b/repo-ng/debian/changelog
@@ -1,3 +1,10 @@
+repo-ng (0.0.10-ppa2~DISTRO) DISTRO; urgency=low
+
+  * New version based on 959c5b9740cec055def1347be8cb845eec1118af
+    (https://github.com/named-data/repo-ng)
+
+ -- Alexander Afanasyev <alexander.afanasyev@ucla.edu>  Thu, 26 Jan 2017 05:41:26 +0000
+
 repo-ng (0.0.10-ppa1~DISTRO) DISTRO; urgency=low
 
   * New version based on 959c5b9740cec055def1347be8cb845eec1118af
diff --git a/repo-ng/debian/control b/repo-ng/debian/control
index 933b301..5fca672 100644
--- a/repo-ng/debian/control
+++ b/repo-ng/debian/control
@@ -5,7 +5,7 @@
  dh-systemd (>= 1.5),
  python (>= 2.7.0),
  pkg-config (>= 0.26),
- ndn-cxx-dev (>= 0.5.0)
+ ndn-cxx-dev (>= 0.5.1)
 Standards-Version: 3.9.2
 Section: net
 Homepage: http://github.com/named-data/repo-ng
@@ -13,7 +13,7 @@
 Vcs-Browser: http://github.com/named-data/repo-ng
 
 Package: repo-ng
-Architecture: i386 amd64
+Architecture: i386 amd64 arm64 armel armhf ppc64el
 Depends: ${shlibs:Depends}, ${misc:Depends}, ndn-cxx
 Description: Next generation of NDN repository
  repo-ng is an implementation of a Named Data Networking data repository with the protocol
diff --git a/repo-ng/debian/rules b/repo-ng/debian/rules
index ffe978c..97288fa 100755
--- a/repo-ng/debian/rules
+++ b/repo-ng/debian/rules
@@ -12,12 +12,13 @@
 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 --with=systemd
 
 override_dh_auto_configure:
-	CXXFLAGS="$(CXXFLAGS)" LINKFLAGS="$(LDFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
+	CXXFLAGS="$(CXXFLAGS)" LINKFLAGS="$(LDFLAGS)" ./waf configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --boost-libs="$(LIBDIR)"
 
 override_dh_auto_build:
 	./waf build