Skip to content

Commit f303ff8

Browse files
committed
project debianized
1 parent ceefd8b commit f303ff8

File tree

6 files changed

+71
-1
lines changed

6 files changed

+71
-1
lines changed

debian/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
libhttpserver (0.1.1) unstable; urgency=low
2+
3+
* First debian relese.
4+
5+
-- Andrea Nicotra <nicotra.andrea@gmail.com> Thu, 19 Jul 2012 13:37:44 +0200

debian/control

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
Source: libhttpserver
2+
Section: libs
3+
Priority: optional
4+
Maintainer: Sebastiano Merlino <electrictwister2000@gmail.com>
5+
Build-Depends: debhelper (>= 7.4), autoconf, automake, dh-autoreconf, cdbs (>= 0.4.51), make(>=3.81), libmicrohttpd10(>= 0.9.9),
6+
Standards-Version: 3.9.0
7+
Vcs-Git: git://github.com/etr/libhttpserver.git
8+
Vcs-browser: https://github.com/etr/libhttpserver.git
9+
Homepage: http://www.gnu.org/software/libmicrohttpd/
10+
11+
Package: libhttpserver
12+
Architecture: any
13+
Installed-Size:
14+
Depends: ${misc:Depends}, ${shlibs:Depends}
15+
Description: libhttpserver
16+
library embedding RESTful HTTP server functionality
17+
libhttpserver is a small C++ library for embedding RESTful HTTP server functionality into
18+
applications.
19+
.
20+
This package includes libraries.
21+
22+
Package: libhttpserver-dbg
23+
Section: debug
24+
Architecture: any
25+
Installed-Size:
26+
Depends: ${misc:Depends}, ${shlibs:Depends}
27+
Description: libhttpserver debug
28+
library embedding RESTful HTTP server functionality (debug)
29+
libhttpserver is a small C++ library for embedding RESTful HTTP server functionality into
30+
applications.
31+
.
32+
This package contains the debugging symbols.
33+
34+
Package: libhttpserver-dev
35+
Section: libdevel
36+
Architecture: any
37+
Installed-Size:
38+
Depends: ${misc:Depends}, ${shlibs:Depends}
39+
Description: libhttpserver
40+
The libhttpserver library .
41+
.
42+
This package contains the development files.

debian/libhttpserver-dev.install

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
usr/include
2+
usr/lib/*.a
3+
usr/lib/*.so
4+
usr/lib/pkgconfig

debian/libhttpserver.install

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
usr/lib/*.so.*

debian/rules

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/usr/bin/make -f
2+
3+
# Uncomment this to turn on verbose mode.
4+
#export DH_VERBOSE=1
5+
6+
DEB_DH_INSTALL_SOURCEDIR = debian/tmp
7+
DEB_BUILDDIR = build
8+
DEB_MAKE_CHECK_TARGET = check
9+
10+
include /usr/share/cdbs/1/rules/debhelper.mk
11+
include /usr/share/cdbs/1/class/autotools.mk
12+
13+
# compile jobs
14+
MAKE += -j1
15+
16+
makebuilddir/libhttpserver::
17+
autoreconf --install
18+

src/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ libhttpserver_la_LIBADD = -lmicrohttpd
2727
libhttpserver_la_LDFLAGS =
2828

2929
install-exec-hook:
30-
(cd $(DESTDIR)$(includedir) && $(LN_S) -f httpserver.hpp httpserverpp)
30+
(mkdir -p $(DESTDIR)$(includedir) && cd $(DESTDIR)$(includedir) && $(LN_S) -f httpserver.hpp httpserverpp)
3131

3232
uninstall-hook:
3333
(cd $(DESTDIR)$(includedir) && rm -f httpserverpp)

0 commit comments

Comments
 (0)