Commit 0c0333e4 authored by Ghislain MARY's avatar Ghislain MARY

Add debian package creation rules.

parent f5ee2e03
This diff is collapsed.
Source: sofia-sip
Section: net
Priority: optional
Maintainer: Ron Lee <ron@debian.org>
Build-Depends: debhelper (>= 5), pkg-config, libglib2.0-dev, libssl-dev,
doxygen, dpkg-dev (>= 1.13.19)
Standards-Version: 3.9.2.0
Homepage: http://sofia-sip.sourceforge.net/
Vcs-Git: git://git.debian.org/users/ron/sofia-sip.git
Vcs-Browser: http://git.debian.org/?p=users/ron/sofia-sip.git;a=summary
Package: sofia-sip-bin
Architecture: any
Section: net
Depends: libsofia-sip-ua0 (>= ${binary:Version}), ${shlibs:Depends}
Suggests: sofia-sip-doc
Description: Sofia-SIP library utilities
Sofia-SIP is an open-source SIP User-Agent library, compliant
with the IETF RFC3261 specification. It can be used as
a building block for SIP client software for uses such as VoIP,
IM, and many other real-time and person-to-person communication
services.
.
This package provides a set of console tools and helper
applications for use in scripts, testing and other uses. All
the tools utilize the Sofia-SIP library.
Package: libsofia-sip-ua0
Architecture: any
Section: libs
Depends: ${shlibs:Depends}
Suggests: sofia-sip-doc
Description: Sofia-SIP library runtime
Sofia-SIP is an open-source SIP User-Agent library, compliant
with the IETF RFC3261 specification. It can be used as
a building block for SIP client software for uses such as VoIP,
IM, and many other real-time and person-to-person communication
services.
.
The library is implemented in ANSI C, and provides an extensive
set of features for implementing SIP/SIMPLE User-Agents. Highlights
include full UDP/TCP/TLS support, IPv4/6 support, SIMPLE presence
and messaging support, SIP offer/answer engine and numerous
mechanisms for NAT/FW traversal.
.
This package provides the main library runtime files.
Package: libsofia-sip-ua-dev
Architecture: any
Section: libdevel
Depends: libsofia-sip-ua0 (= ${binary:Version})
Suggests: sofia-sip-doc
Description: Sofia-SIP library development files
Sofia-SIP is an open-source SIP User-Agent library, compliant
with the IETF RFC3261 specification. It can be used as
a building block for SIP client software for uses such as VoIP,
IM, and many other real-time and person-to-person communication
services.
.
This package provides the headers and libraries needed to build
applications against the Sofia-SIP library.
Package: libsofia-sip-ua-glib3
Architecture: any
Section: libs
Depends: libsofia-sip-ua0 (= ${binary:Version}), ${shlibs:Depends}
Suggests: sofia-sip-doc
Description: Sofia-SIP library glib/gobject interfaces runtime
Sofia-SIP is an open-source SIP User-Agent library, compliant
with the IETF RFC3261 specification. It can be used as
a building block for SIP client software for uses such as VoIP,
IM, and many other real-time and person-to-person communication
services.
.
This package provides glib/object interfaces to the Sofia-SIP library.
Package: libsofia-sip-ua-glib-dev
Architecture: any
Section: libdevel
Depends: libsofia-sip-ua-glib3 (= ${binary:Version}), libsofia-sip-ua-dev, libglib2.0-dev
Suggests: sofia-sip-doc
Description: Sofia-SIP library glib/gobject interface development files
Sofia-SIP is an open-source SIP User-Agent library, compliant
with the IETF RFC3261 specification. It can be used as
a building block for SIP client software for uses such as VoIP,
IM, and many other real-time and person-to-person communication
services.
.
This package provides the headers and libraries needed to build
applications against the glib/object interfaces of Sofia-SIP library.
Package: sofia-sip-doc
Architecture: all
Section: doc
Description: Sofia-SIP library library documentation
Sofia-SIP is an open-source SIP User-Agent library, compliant
with the IETF RFC3261 specification. It can be used as
a building block for SIP client software for uses such as VoIP,
IM, and many other real-time and person-to-person communication
services.
.
This package provides the library reference documentation.
This diff is collapsed.
usr/include/*/*/*.h
usr/include/*/*/*.h.in
usr/lib/libsofia-sip-ua.a
usr/lib/libsofia-sip-ua.so
usr/lib/pkgconfig/sofia-sip-ua.pc
usr/share/sofia-sip/msg_parser.awk
usr/share/sofia-sip/tag_dll.awk
usr/lib/libsofia-sip-ua-glib.a
usr/lib/libsofia-sip-ua-glib.so
usr/lib/pkgconfig/sofia-sip-ua-glib.pc
usr/lib/libsofia-sip-ua-glib.so.*
libsofia-sip-ua-glib.so.3 libsofia-sip-ua-glib3 #MINVER#
su_glib_prefer_gsource@Base 1.12.10
su_glib_root_create@Base 1.12.10
su_glib_root_gsource@Base 1.12.10
su_root_source_create@Base 1.12.10
usr/lib/libsofia-sip-ua.so.*
This source diff could not be displayed because it is too large. You can view the blob instead.
#!/usr/bin/make -f
#
# Copyright 2003 - 2011, Ron Lee.
SHELL = /bin/bash
NUM_CPUS = $(shell getconf _NPROCESSORS_ONLN 2>/dev/null)
PARALLEL = $(subst parallel=,,$(filter parallel=%,$(DEB_BUILD_OPTIONS)))
NJOBS = -j$(or $(PARALLEL),$(NUM_CPUS),1)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
export DH_OPTIONS
objdir := objs
clean:
dh_testdir
dh_testroot
$(RM) *-stamp
$(RM) -r $(objdir) doc
dh_clean
$(objdir)/config.status: configure
dh_testdir
mkdir -p $(objdir)
cd $(objdir) && ../configure --host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) \
--prefix=/usr --disable-stun
build: build-arch
build-arch: build-arch-stamp
build-arch-stamp: $(objdir)/config.status
dh_testdir
$(MAKE) $(NJOBS) -C $(objdir)
touch $@
build-indep: build-indep-stamp
build-indep-stamp:
dh_testdir
$(MAKE) -C $(objdir) doxygen
touch $@
install: install-arch install-indep
install-arch: install-arch-stamp
install-arch-stamp: build-arch
dh_testdir
cd $(objdir) && $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp
touch $@
install-indep: build-indep
binary: binary-indep binary-arch
binary-indep: DH_OPTIONS = -i
binary-indep: install-indep
dh_testdir
dh_testroot
dh_installdocs
dh_installchangelogs
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch: DH_OPTIONS = -a
binary-arch: install-arch
dh_testdir
dh_testroot
dh_install --sourcedir=debian/tmp
dh_installdocs
dh_installchangelogs
dh_strip
dh_compress
dh_fixperms
dh_makeshlibs -- -c0
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
.PHONY: clean build build-arch build-indep install install-arch install-indep \
binary binary-arch binary-indep
usr/bin/*
usr/share/man/man1/*
objs/libsofia-sip-ua/docs/html
objs/libsofia-sip-ua-glib/docs/html
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment