Skip to content

Commit d65ecb1

Browse files
nopoll:
* [fix] Added initial files to compile jessie..
1 parent ef3fe53 commit d65ecb1

File tree

8 files changed

+173
-0
lines changed

8 files changed

+173
-0
lines changed

debian-files/jessie/README.Debian

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
noPoll for Debian Jessie 8.0
2+
----------------------------
3+
4+
More info at: http://www.aspl.es/nopoll
5+
6+

debian-files/jessie/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
libnopoll0 (0.21-0) unstable; urgency=low
2+
3+
* First release
4+
5+
-- Francis Brosnan <[email protected]> Mon, 08 Apr 2013 11:12:23 +0100

debian-files/jessie/compat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
5

debian-files/jessie/control

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Source: libnopoll0
2+
Priority: extra
3+
Maintainer: Francis Brosnan <[email protected]>
4+
Build-Depends: debhelper (>= 5), autotools-dev, pkg-config,
5+
libssl-dev
6+
Standards-Version: 3.7.2
7+
Section: libs
8+
9+
Package: libnopoll0
10+
Section: libs
11+
Architecture: any
12+
Depends: libc6, libssl1.0.0
13+
Description: WebSocket OpenSource implementation
14+
noPoll is a WebSocket implementation designed to integreate well into
15+
existing projects that needs support for WebSocket, even in the same
16+
native port.
17+
18+
Package: libnopoll0-dev
19+
Section: libdevel
20+
Architecture: any
21+
Depends: libnopoll0 (= ${Source-Version})
22+
Description: WebSocket OpenSource implementation (dev headers)
23+
noPoll is a WebSocket implementation designed to integreate well into
24+
existing projects that needs support for WebSocket, even in the same
25+
native port.
26+

debian-files/jessie/copyright

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This package was debianized by Francis Brosnan <[email protected]>
2+
3+
It was downloaded from http://www.aspl.es/nopoll
4+
5+
Upstream Author: Advanced Software Production Line, S.L.
6+
7+
Copyright: 2013 Advanced Software Production Line, S.L.
8+
9+
License: noPoll is license under the LGPL 2.1
10+
11+
The Debian packaging is (C) 2013, Advanced Software Production Line, S.L.
12+
is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
13+
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
usr/lib/pkgconfig/nopoll.pc
2+
usr/include/nopoll/nopoll.h
3+
usr/include/nopoll/nopoll_conn.h
4+
usr/include/nopoll/nopoll_conn_opts.h
5+
usr/include/nopoll/nopoll_handlers.h
6+
usr/include/nopoll/nopoll_decl.h
7+
usr/include/nopoll/nopoll_private.h
8+
usr/include/nopoll/nopoll_ctx.h
9+
usr/include/nopoll/nopoll_log.h
10+
usr/include/nopoll/nopoll_listener.h
11+
usr/include/nopoll/nopoll_msg.h
12+
usr/include/nopoll/nopoll_io.h
13+
usr/include/nopoll/nopoll_loop.h
14+
usr/include/nopoll/nopoll_config.h
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
usr/lib/libnopoll.so.0.0.0
2+
usr/lib/libnopoll.so.0
3+
usr/lib/libnopoll.so
4+
usr/lib/libnopoll.la
5+
usr/lib/libnopoll.a

debian-files/jessie/rules

Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
#!/usr/bin/make -f
2+
# -*- makefile -*-
3+
4+
# Uncomment this to turn on verbose mode.
5+
export DH_VERBOSE=1
6+
7+
8+
# These are used for cross-compiling and for saving the configure script
9+
# from having to guess our platform (since we know it already)
10+
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
11+
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
12+
13+
14+
CFLAGS = -Wall -g
15+
16+
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
17+
CFLAGS += -O0
18+
else
19+
CFLAGS += -O2
20+
endif
21+
22+
# shared library versions, option 1
23+
version=2.0.5
24+
major=2
25+
26+
27+
config.status: configure
28+
dh_testdir
29+
# Add here commands to configure the package.
30+
./configure --prefix=/usr --sysconfdir=/etc
31+
32+
build: prepare build-stamp
33+
build-stamp: prepare config.status
34+
dh_testdir
35+
prepare:
36+
./autogen.sh --prefix=/usr --sysconfdir=/etc
37+
38+
# Add here commands to compile the package.
39+
$(MAKE)
40+
# check build
41+
# $(MAKE) check
42+
43+
touch $@
44+
45+
clean:
46+
dh_testdir
47+
dh_testroot
48+
rm -f build-stamp
49+
50+
# Add here commands to clean up after the build process.
51+
# -$(MAKE) clean
52+
dh_clean
53+
54+
install: build
55+
dh_testdir
56+
dh_testroot
57+
dh_clean -k
58+
dh_installdirs
59+
60+
# install the package
61+
$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
62+
63+
# install documentation
64+
cd doc/; $(MAKE) DESTDIR=$(CURDIR)/debian/tmp install-doc; cd ..
65+
66+
67+
# Build architecture-independent files here.
68+
binary-indep: build install
69+
# We have nothing to do by default.
70+
71+
# Build architecture-dependent files here.
72+
binary-arch: build install
73+
dh_testdir
74+
dh_testroot
75+
dh_installchangelogs ChangeLog
76+
dh_installdocs
77+
# dh_installexamples
78+
dh_install --list-missing --sourcedir=debian/tmp
79+
# dh_installmenu
80+
# dh_installdebconf
81+
# dh_installlogrotate
82+
# dh_installemacsen
83+
# dh_installpam
84+
# dh_installmime
85+
# dh_installinit
86+
# dh_installcron
87+
# dh_installinfo
88+
dh_installman
89+
dh_link
90+
dh_strip
91+
dh_compress
92+
dh_fixperms
93+
# dh_perl
94+
# dh_python
95+
# dh_makeshlibs
96+
dh_installdeb
97+
# dh_shlibdeps
98+
dh_gencontrol
99+
dh_md5sums
100+
dh_builddeb
101+
102+
binary: binary-indep binary-arch
103+
.PHONY: build clean binary-indep binary-arch binary install

0 commit comments

Comments
 (0)