Permalink
Browse files

Generates 4 diferent debian packages: libonion, libonion-dev, libonio…

…n-examples, libonion-tools.

Still some problems with compilerunloop.
  • Loading branch information...
1 parent 6a4f53b commit 1f38640beff0763b5e24f05b7afdf254661a3793 @davidmoreno committed Dec 31, 2010
View
36 debian/control
@@ -52,3 +52,39 @@ Description: HTTP server library
plugin to add some functionality. With libonion you have the functionality
and add the webserver as a plugin.
+Package: libonion-examples
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: HTTP server library -- Examples
+ Onion plans to be a lightweight C library that facilitate to create simple
+ HTTP servers.
+ .
+ The use case is an existing application, or a new one, that needs some HTTP
+ interconnection with the world. It uses the library to add some handlers for
+ specific URLs and generate and serve the dynamic data as needed.
+ .
+ It also has security goals (SSL support) so that you just concentrate on what
+ you want to serve, and serve it.
+ .
+ Its not a web server per se, as it is not an executable.
+ .
+ If you want to compare to a web server, a web server would use a module or
+ plugin to add some functionality. With libonion you have the functionality
+ and add the webserver as a plugin.
+
+Package: libonion-tools
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: HTTP server library -- Tools
+ Onion plans to be a lightweight C library that facilitate to create simple
+ HTTP servers.
+ .
+ This includes the tools used to help onion developments (and maybe others):
+ .
+ * opack -- Prepares a file to be embedded into an onion powered server executable
+ * crl -- Do the compile/run loop, checking source files; as modified the executable
+ is stopped and the loop starts again.
+
+
View
2 debian/docs
@@ -1,3 +1 @@
-CMakeLists.txt
-err.txt
README.rst
View
1 debian/libonion-dev.install
@@ -1,4 +1,3 @@
usr/include/*
usr/lib/lib*.a
-usr/lib/lib*.so
usr/share/cmake/*
View
4 debian/libonion-examples.install
@@ -0,0 +1,4 @@
+usr/bin/interactive
+usr/bin/fileserver
+usr/bin/oterm
+usr/bin/otop
View
2 debian/libonion-tools.install
@@ -0,0 +1,2 @@
+usr/bin/opack
+#usr/bin/crl
View
1 debian/libonion1.install → debian/libonion.dirs
@@ -1 +1,2 @@
usr/lib/lib*.so.*
+usr/lib/lib*.so
View
1 debian/libonion.install
@@ -0,0 +1 @@
+usr/lib/lib*.so
View
1 debian/libonion1.dirs
@@ -1 +0,0 @@
-usr/lib
View
6 tools/compilerunloop/CMakeLists.txt
@@ -1,5 +1,5 @@
-ADD_CUSTOM_TARGET(TARGET clr ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/compilerunloop.sh
- COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/compilerunloop.sh ${CMAKE_CURRENT_BINARY_DIR}/clr
+ADD_CUSTOM_TARGET(TARGET crl ALL DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/compilerunloop.sh
+ COMMAND cp ${CMAKE_CURRENT_SOURCE_DIR}/compilerunloop.sh ${CMAKE_CURRENT_BINARY_DIR}/crl
)
-INSTALL(FILES clr DESTINATION bin PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)
+#INSTALL(FILES crl DESTINATION bin PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ OWNER_EXECUTE GROUP_EXECUTE WORLD_EXECUTE)

0 comments on commit 1f38640

Please sign in to comment.