Permalink
Browse files

Added debian package creation stuff.

  • Loading branch information...
1 parent b86da08 commit c452fb4e6fb8f37d833fb09ac82224445e12f466 @pibara committed Aug 13, 2011
Showing with 27 additions and 4 deletions.
  1. +2 −0 .gitignore
  2. +0 −4 README
  3. +15 −0 jsonme++/DEBIAN/control
  4. +2 −0 jsonme++/DEBIAN/postinst
  5. +8 −0 makedepstuff.sh
View
@@ -10,3 +10,5 @@ cmake_install.cmake
*.so
*.so.*
build/test_*
+jsonme++/usr/
+*.deb
View
4 README
@@ -6,10 +6,6 @@ It has the following issues that I might fix in a later release. Given that I do
work on project like this and given that my priorities lie with different projects, you may consider
it as a wishlist that if you like this library would make me very happy if you could contribute it:
-Before we release a 1.0 version:
-
-* Create an ubuntu .deb package.
-
After the 1.0 we may look at the following:
* See if we can get stuff compiling with the -Wold-style-cast flag set.
View
@@ -0,0 +1,15 @@
+Package: jsonme++
+Section: development
+Priority: extra
+Essential: no
+Version: 0.9.0-1
+Architecture: amd64
+Installed-Size: 10
+Depends: g++,libjson-glib-dev,libboost-dev
+Maintainer: Rob Meijer <pibara@gmail.com>
+Description: The JSON made easy for C++ library is an easy to use C++ JSON parser lib.
+ Jsonme++ provides a very simple to use API for parsing JSON data in C++. The library is a C++
+ wrapper for the glib json library that is significantly simpler to use than the C API and
+ is also much easyer to use than other JSON libraries currently available for C++.
+ The library curently only supports parsing so its limited in use to applications that parse
+ but not generate JSON.
View
@@ -0,0 +1,2 @@
+#!/bin/bash
+/sbin/ldconfig
View
@@ -0,0 +1,8 @@
+#!/bin/sh
+mkdir jsonme++/usr
+mkdir jsonme++/usr/lib
+mkdir jsonme++/usr/include
+cp ./json-me.hpp jsonme++/usr/include
+mv ls build/libjsonme.so* jsonme++/usr/lib/
+echo fakeroot dpkg-deb --build jsonme++ jsonme++_`grep Version jsonme++/DEBIAN/control |sed -e 's/.* //'`_amd64.deb
+

0 comments on commit c452fb4

Please sign in to comment.