Skip to content

Commit

Permalink
debian build now builds also libbaresip and libbaresip-dev packages (b…
Browse files Browse the repository at this point in the history
  • Loading branch information
juha-h authored and alfredh committed Oct 19, 2017
1 parent a4fd166 commit 2ff8aca
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 2 deletions.
14 changes: 14 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,17 @@ Description: Modular SIP User-Agent with audio and video support
RFC compliant
Robust, fast, low footprint
Portable C89 and C99 source code

Package: libbaresip
Architecture: any
Section: libs
Depends: ${shlibs:Depends}, ${misc:Depends}, librem (>= 0.5.0), libre (>= 0.5.4)
Description: Baresip library

Package: libbaresip-dev
Architecture: any
Section: libdevel
Depends: libbaresip (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
Description: Baresip library development files
See https://github.com/alfredh/baresip/wiki/Using-baresip-as-a-library
for an example.
3 changes: 3 additions & 0 deletions debian/libbaresip-dev.dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
usr/include
usr/lib
usr/share
2 changes: 2 additions & 0 deletions debian/libbaresip-dev.files
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
usr/include
usr/lib/libbaresip.a
1 change: 1 addition & 0 deletions debian/libbaresip.dirs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
usr/lib
1 change: 1 addition & 0 deletions debian/libbaresip.files
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/usr/lib/libbaresip.so
6 changes: 4 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ install: build
dh_testroot
dh_prep
dh_installdirs
mkdir $(CURDIR)/debian/tmp
$(MAKE) RELEASE=1 $(BARESIP_FLAGS) install DESTDIR=$(CURDIR)/debian/baresip

$(MAKE) RELEASE=1 $(BARESIP_FLAGS) install-dev DESTDIR=$(CURDIR)/debian/tmp
dh_movefiles

# Build architecture-independent files here.
binary-indep: build install
Expand Down Expand Up @@ -73,7 +75,7 @@ binary-arch: build install
dh_fixperms
# dh_perl
# dh_python
# dh_makeshlibs
dh_makeshlibs
dh_installdeb
dh_shlibdeps
dh_gencontrol
Expand Down

0 comments on commit 2ff8aca

Please sign in to comment.