mirror of https://github.com/sipwise/mediator.git
- Use canonical homepage URL. - Bump debhelper compatibility to 9. - Bump Standards-Version to 3.9.8. - Bump source format to 3.0 (native). - Switch to dh debian/rules. - Update copyright years. - Update package description. - Move file installation to an .install file. Change-Id: Id3023dfc888327b53dec252d934ee0514dc3d671changes/78/12378/1
parent
e00771b4fa
commit
2a7454829c
@ -0,0 +1,2 @@
|
||||
*.o
|
||||
/mediator
|
||||
@ -0,0 +1,6 @@
|
||||
*.log
|
||||
*.substvars
|
||||
*.debhelper
|
||||
/debhelper-build-stamp
|
||||
/files
|
||||
/ngcp-mediator/
|
||||
@ -1 +1 @@
|
||||
5
|
||||
9
|
||||
|
||||
@ -0,0 +1 @@
|
||||
mediator usr/bin/
|
||||
@ -1,76 +1,12 @@
|
||||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# This file was originally written by Joey Hess and Craig Small.
|
||||
# As a special exception, when this file is copied by dh-make into a
|
||||
# dh-make output file, you may use that output file without restriction.
|
||||
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
CFLAGS = -Wall -g
|
||||
%:
|
||||
dh $@
|
||||
|
||||
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
|
||||
CFLAGS += -O0
|
||||
else
|
||||
CFLAGS += -O2
|
||||
endif
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp:
|
||||
dh_testdir
|
||||
|
||||
# Add here commands to compile the package.
|
||||
$(MAKE)
|
||||
|
||||
touch $@
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp
|
||||
|
||||
# Add here commands to clean up after the build process.
|
||||
-$(MAKE) clean
|
||||
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_clean -k
|
||||
dh_installdirs usr/bin
|
||||
|
||||
# Add here commands to install the package into debian/ngcp-mediator.
|
||||
install -m 755 mediator $(CURDIR)/debian/ngcp-mediator/usr/bin/mediator
|
||||
|
||||
|
||||
# Build architecture-independent files here.
|
||||
binary-indep: build install
|
||||
# We have nothing to do by default.
|
||||
|
||||
# Build architecture-dependent files here.
|
||||
binary-arch: build install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installchangelogs ChangeLog
|
||||
dh_installdocs
|
||||
dh_installexamples
|
||||
dh_installman
|
||||
override_dh_installinit:
|
||||
dh_installinit --name=mediator
|
||||
dh_link
|
||||
dh_strip
|
||||
mkdir -p $(CURDIR)/debian/ngcp-mediator/usr/share/lintian/overrides/
|
||||
cp -av debian/overrides $(CURDIR)/debian/ngcp-mediator/usr/share/lintian/overrides/ngcp-mediator
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_shlibdeps
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
.PHONY: override_dh_installinit
|
||||
|
||||
@ -0,0 +1 @@
|
||||
3.0 (native)
|
||||
Loading…
Reference in new issue