-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from cginternals/ppa-deployment
Add default deployment for ubuntu PPAs (refs #43)
- Loading branch information
Showing
7 changed files
with
158 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
cmake-init (2.0.0-0) UNRELEASED; urgency=low | ||
|
||
* Initial release. | ||
|
||
-- Willy Scheibel <[email protected]> Tue, 31 Jan 2017 13:30:00 +0100 |
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 @@ | ||
9 |
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,46 @@ | ||
Source: cmake-init | ||
Section: misc | ||
Priority: optional | ||
Maintainer: Willy Scheibel <[email protected]> | ||
Build-Depends: build-essential, cmake, qtbase5-dev, doxygen, graphviz | ||
Standards-Version: 3.8.0 | ||
|
||
Package: libcmake-init | ||
Architecture: any | ||
Depends: | ||
Homepage: https://github.com/cginternals/cmake-init | ||
Description: Template for reliable, cross-platform C++ project setup using cmake. | ||
|
||
Package: libcmake-init-dev | ||
Architecture: any | ||
Depends: libcmake-init | ||
Homepage: https://github.com/cginternals/cmake-init | ||
Description: Template for reliable, cross-platform C++ project setup using cmake. | ||
|
||
Package: libcmake-init-examples-data | ||
Architecture: any | ||
Homepage: https://github.com/cginternals/cmake-init | ||
Description: Template for reliable, cross-platform C++ project setup using cmake. | ||
|
||
Package: libcmake-init-examples | ||
Architecture: any | ||
Depends: libcmake-init, libcmake-init-examples-data, libqt5core5a | ||
Homepage: https://github.com/cginternals/cmake-init | ||
Description: Template for reliable, cross-platform C++ project setup using cmake. | ||
|
||
Package: libcmake-init-docs | ||
Architecture: any | ||
Homepage: https://github.com/cginternals/cmake-init | ||
Description: Template for reliable, cross-platform C++ project setup using cmake. | ||
|
||
Package: libcmake-init-dbg | ||
Architecture: any | ||
Depends: libcmake-init, libcmake-init-dev | ||
Homepage: https://github.com/cginternals/cmake-init | ||
Description: Template for reliable, cross-platform C++ project setup using cmake. | ||
|
||
Package: libcmake-init-all | ||
Architecture: any | ||
Depends: libcmake-init, libcmake-init-dev, libcmake-init-docs, libcmake-init-examples | ||
Homepage: https://github.com/cginternals/cmake-init | ||
Description: Template for reliable, cross-platform C++ project setup using 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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
This package was debianised by Willy Scheibel <[email protected]> on | ||
Tue, 31 Jan 2017 13:30:00 +0100 | ||
|
||
It was downloaded from: | ||
|
||
https://github.com/cginternals/cmake-init | ||
|
||
Upstream Author: | ||
|
||
CG Internals | ||
|
||
Copyright: | ||
|
||
Copyright (c) 2015-2017 CG Internals GmbH and Computer Graphics Systems Group at the Hasso-Plattner-Institute, Germany. | ||
|
||
License: | ||
|
||
This software is available to you under the terms of the MIT license, see "https://github.com/cginternals/cmake-init/blob/master/LICENSE". |
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,83 @@ | ||
#!/usr/bin/make -f | ||
|
||
BUILDDIR = build | ||
BUILDDEBUGDIR = build-debug | ||
|
||
# firstly called by launchpad | ||
clean: | ||
rm -rf $(BUILDDIR) | ||
rm -rf $(BUILDDEBUGDIR) | ||
|
||
# secondly called by launchpad | ||
build: build-arch | ||
|
||
build-arch: | ||
mkdir $(BUILDDIR) | ||
cd $(BUILDDIR);cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DOPTION_BUILD_TESTS=Off -DOPTION_BUILD_EXAMPLES=On -DOPTION_BUILD_DOCS=On .. | ||
make -C $(BUILDDIR) | ||
mkdir $(BUILDDEBUGDIR) | ||
cd $(BUILDDEBUGDIR);cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DOPTION_BUILD_TESTS=Off -DOPTION_BUILD_EXAMPLES=Off -DOPTION_BUILD_DOCS=Off .. | ||
make -C $(BUILDDEBUGDIR) | ||
|
||
# thirdly called by launchpad | ||
binary: binary-arch | ||
|
||
binary-arch: libcmake-init libcmake-init-dev libcmake-init-docs libcmake-init-dbg libcmake-init-examples-data libcmake-init-examples libcmake-init-all | ||
|
||
libcmake-init: | ||
cd $(BUILDDIR); DESTDIR=../debian/tmp COMPONENT=runtime make component_install | ||
mkdir -p debian/tmp/DEBIAN | ||
dpkg-gencontrol -plibcmake-init | ||
dpkg --build debian/tmp .. | ||
rm -rf debian/tmp | ||
|
||
libcmake-init-dev: | ||
cd $(BUILDDIR); DESTDIR=../debian/tmp COMPONENT=dev make component_install | ||
mkdir -p debian/tmp/DEBIAN | ||
dpkg-gencontrol -plibcmake-init-dev | ||
dpkg --build debian/tmp .. | ||
rm -rf debian/tmp | ||
|
||
libcmake-init-docs: | ||
cd $(BUILDDIR); DESTDIR=../debian/tmp COMPONENT=docs make component_install | ||
mkdir -p debian/tmp/DEBIAN | ||
dpkg-gencontrol -plibcmake-init-docs | ||
dpkg --build debian/tmp .. | ||
rm -rf debian/tmp | ||
|
||
libcmake-init-dbg: | ||
cd $(BUILDDEBUGDIR); DESTDIR=../debian/tmp COMPONENT=runtime make component_install | ||
cd $(BUILDDEBUGDIR); DESTDIR=../debian/tmp COMPONENT=dev make component_install | ||
rm -rf debian/tmp/usr/include | ||
rm debian/tmp/usr/share/*/*-config.cmake | ||
rm debian/tmp/usr/share/*/AUTHORS | ||
rm debian/tmp/usr/share/*/LICENSE | ||
rm debian/tmp/usr/share/*/README.md | ||
rm debian/tmp/usr/share/*/VERSION | ||
rm debian/tmp/usr/share/*/cmake/*/*-export.cmake | ||
mkdir -p debian/tmp/DEBIAN | ||
dpkg-gencontrol -plibcmake-init-dbg | ||
dpkg --build debian/tmp .. | ||
rm -rf debian/tmp | ||
|
||
libcmake-init-examples-data: | ||
cd $(BUILDDIR); DESTDIR=../debian/tmp COMPONENT=examples_data make component_install | ||
mkdir -p debian/tmp/DEBIAN | ||
dpkg-gencontrol -plibcmake-init-examples-data | ||
dpkg --build debian/tmp .. | ||
rm -rf debian/tmp | ||
|
||
libcmake-init-examples: | ||
cd $(BUILDDIR); DESTDIR=../debian/tmp COMPONENT=examples_qt make component_install | ||
mkdir -p debian/tmp/DEBIAN | ||
dpkg-gencontrol -plibcmake-init-examples | ||
dpkg --build debian/tmp .. | ||
rm -rf debian/tmp | ||
|
||
libcmake-init-all: | ||
mkdir -p debian/tmp/DEBIAN | ||
dpkg-gencontrol -plibcmake-init-all | ||
dpkg --build debian/tmp .. | ||
rm -rf debian/tmp | ||
|
||
.PHONY: build build-arch binary binary-arch clean libcmake-init libcmake-init-dev libcmake-init-docs libcmake-init-dbg libcmake-init-examples-data libcmake-init-examples libcmake-init-all |
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 @@ | ||
3.0 (native) |
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,3 @@ | ||
# bzr-builder format 0.3 deb-version {debupstream}+{revno} | ||
lp:cmake-init | ||
nest-part packaging lp:cmake-init deploy/ubuntu-ppa/debian debian master |