-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake,debian: Use CMake for debian packages (#522)
- Loading branch information
Showing
12 changed files
with
32 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,9 +2,9 @@ Source: libre | |
Section: comm | ||
Priority: optional | ||
Maintainer: Alfred E. Heggestad <[email protected]> | ||
Standards-Version: 3.9.5 | ||
Build-Depends: debhelper (>= 9.20120311) | ||
Homepage: http://www.creytiv.com/ | ||
Standards-Version: 4.1.5 | ||
Build-Depends: cmake, dh-cmake, dh-cmake-compat (= 1), dh-sequence-cmake, debhelper-compat (= 12) | ||
Homepage: https://github.com/baresip/re | ||
|
||
Package: libre | ||
Architecture: any | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
This package was debianized by Alfred E. Heggestad <[email protected]> | ||
|
||
It was downloaded from http://www.creytiv.com/ | ||
|
||
|
||
Copyright (c) 2010 - 2018, Alfred E. Heggestad | ||
Copyright (c) 2010 - 2018, Richard Aas | ||
Copyright (c) 2010 - 2018, Creytiv.com | ||
Copyright (C) 2020 - 2022, Baresip Foundation (https://github.com/baresip) | ||
Copyright (c) 2010 - 2022, Alfred E. Heggestad | ||
Copyright (c) 2010 - 2020, Richard Aas | ||
Copyright (c) 2010 - 2020, Creytiv.com | ||
All rights reserved. | ||
|
||
|
||
|
@@ -20,18 +16,17 @@ are met: | |
notice, this list of conditions and the following disclaimer in the | ||
documentation and/or other materials provided with the distribution. | ||
|
||
3. Neither the name of the Creytiv.com nor the names of its contributors | ||
3. Neither the name of the copyright holder nor the names of its contributors | ||
may be used to endorse or promote products derived from this software | ||
without specific prior written permission. | ||
|
||
|
||
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR | ||
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES | ||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. | ||
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, | ||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" | ||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | ||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE | ||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR | ||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE | ||
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT | ||
OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Development |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Libraries |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,97 +1,4 @@ | ||
#!/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 | ||
|
||
|
||
EXTRA_CFLAGS:="$(shell dpkg-buildflags --get CFLAGS | sed -e 's/-O2//')" | ||
EXTRA_LFLAGS:="$(shell dpkg-buildflags --get LDFLAGS)" | ||
|
||
|
||
configure: configure-stamp | ||
configure-stamp: | ||
dh_testdir | ||
# Add here commands to configure the package. | ||
|
||
touch configure-stamp | ||
|
||
build: build-stamp | ||
build-stamp: configure-stamp | ||
dh_testdir | ||
|
||
# Add here commands to compile the package. | ||
$(MAKE) RELEASE=1 PREFIX=/usr \ | ||
EXTRA_CFLAGS=$(EXTRA_CFLAGS) \ | ||
EXTRA_LFLAGS=$(EXTRA_LFLAGS) | ||
|
||
touch $@ | ||
|
||
clean: | ||
dh_testdir | ||
dh_testroot | ||
rm -f build-stamp configure-stamp | ||
|
||
# Add here commands to clean up after the build process. | ||
$(MAKE) clean | ||
|
||
dh_clean | ||
|
||
install: build | ||
dh_testdir | ||
dh_testroot | ||
dh_prep | ||
dh_installdirs | ||
|
||
# Add here commands to install the package into debian/tmp | ||
mkdir $(CURDIR)/debian/tmp | ||
$(MAKE) install DESTDIR=$(CURDIR)/debian/tmp | ||
|
||
dh_movefiles | ||
|
||
# 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 | ||
dh_installdocs | ||
dh_installexamples | ||
# dh_install | ||
# dh_installmenu | ||
# dh_installdebconf | ||
# dh_installlogrotate | ||
# dh_installemacsen | ||
# dh_installpam | ||
# dh_installmime | ||
# dh_installinit | ||
# dh_installcron | ||
# dh_installinfo | ||
dh_installman | ||
dh_link | ||
dh_strip | ||
dh_compress | ||
dh_fixperms | ||
# dh_perl | ||
# dh_python | ||
dh_makeshlibs | ||
dh_installdeb | ||
dh_shlibdeps | ||
dh_gencontrol | ||
dh_md5sums | ||
dh_builddeb | ||
|
||
build-arch: build | ||
|
||
build-indep: build | ||
|
||
binary: binary-indep binary-arch | ||
.PHONY: build clean binary-indep binary-arch binary install configure | ||
%: | ||
dh $@ --buildsystem=cmake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.0 | ||
3.0 (native) |