Skip to content
Snippets Groups Projects
Commit be4981c3 authored by vwitten's avatar vwitten
Browse files

added debian folder to specify rules for package creation

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@480 042f3d55-54a8-47e9-b7fb-15903f145c44
parent d654e24e
No related branches found
No related tags found
No related merge requests found
simox (0.1-0ppa0) precise; urgency=low
* Initial upload!
-- Valerij Wittenbeck <valerij.wittenbeck@student.kit.edu> Mon, 13 Jan 2014 11:33:45 +0100
Source: simox
Section: devel
Priority: optional
Maintainer: Nikolaus Vahrenkamp <vahrenkamp@kit.edu>
Build-Depends: cmake (>= 2.6), build-essential, libboost-all-dev (>= 1.42), libqt4-dev (>= 4.6), libsoqt4-dev, libeigen3-dev
Homepage: http://simox.sourceforge.net/
Package: simox
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libboost-system1.46.1, libboost-filesystem1.46.1, libboost-test1.46.1, libboost-program-options1.46.1, libboost-thread1.46.1, libqt4-core, libsoqt4-20
Description: Simox package
####################################################################
# simox #
####################################################################
Copyright (C) 2014 Nikolaus Vahrenkamp
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
#!/usr/bin/make -f
BUILDDIR = build_dir
# secondly called by launchpad
build:
mkdir $(BUILDDIR);
cd $(BUILDDIR); cmake -DCMAKE_INSTALL_PREFIX=../debian/tmp/usr ..
make -C $(BUILDDIR)
# thirdly called by launchpad
binary: binary-indep binary-arch
binary-indep:
# nothing to be done
binary-arch:
cd $(BUILDDIR); cmake -P cmake_install.cmake
mkdir debian/tmp/DEBIAN
dpkg-gencontrol -psimox
dpkg --build debian/tmp ..
# firstly called by launchpad
clean:
rm -f build
rm -rf $(BUILDDIR)
.PHONY: binary binary-arch binary-indep clean
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment