Skip to content
Snippets Groups Projects
Commit d466cee7 authored by Thibault Cohen's avatar Thibault Cohen Committed by Thibault COHEN
Browse files

Add ring-repository package

Change-Id: I7b2f4a8519ac25ffe3b31d2f47bdb0bebaddc34f
(cherry picked from commit 8a005715)
parent 1f28bc08
No related branches found
No related tags found
No related merge requests found
......@@ -15,6 +15,13 @@ Build-Depends: debhelper (>= 9),
libspeexdsp-dev, autotools-dev, chrpath, check, astyle,
uuid-dev, libudev-dev, libgnutls28-dev,
Package: ring-repository
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: Ring repository
Ring is free software for distributed and secured communication.
Package: ring-daemon
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
......
......@@ -5,7 +5,8 @@ PKD = $(abspath $(dir $(MAKEFILE_LIST)))
#PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog --show-field=Source))
PKG = $(shell dpkg-parsechangelog -l$(PKD)/changelog --show-field=Source)
VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};')
DISTRIB_RELEASE = $(shell grep -hPo "DISTRIB_RELEASE=\K.*" /etc/*ease)
DISTRIB_ID = $(shell grep -hPo "ID=\K.*" /etc/*ease)
DISTRIB_VERSION_ID = $(shell grep -hPo "VERSION_ID=\K.*" /etc/*ease)
# Uncomment this to turn on verbose mode.
export DH_VERBOSE=1
......@@ -40,6 +41,9 @@ override_dh_auto_install:
mkdir -p $(CURDIR)/debian/ring-daemon-dev/usr/include/dring
mv $(CURDIR)/debian/ring-daemon/usr/include/dring/* $(CURDIR)/debian/ring-daemon-dev/usr/include/dring
rm -rf $(CURDIR)/debian/ring-daemon/usr/include/
# Add repository file
mkdir -p $(CURDIR)/debian/ring-repository/etc/apt/sources.list.d/
echo "deb http://nightly.apt.ring.cx/$(DISTRIB_ID)_$(DISTRIB_VERSION_ID) ring main" > $(CURDIR)/debian/ring-repository/etc/apt/sources.list.d/ring-nightly.list
dh_auto_install
get-orig-source:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment