DEB krecipes: cmake conversion

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 0b642c7751)
r14.1.x
Michele Calgaro 4 weeks ago
parent cd51bc214b
commit cb07f78599
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -3,7 +3,7 @@ Section: tde
Priority: optional Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
Uploaders: Matthias Julius <mdeb@julius-net.net> Uploaders: Matthias Julius <mdeb@julius-net.net>
Build-Depends: cdbs, debhelper (>= 10~), autotools-dev, automake, libtool, chrpath, tdelibs14-trinity-dev, libsqlite3-dev, default-libmysqlclient-dev | libmysqlclient-dev, libpq-dev Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, libsqlite3-dev, default-libmysqlclient-dev | libmysqlclient-dev, libpq-dev
Standards-Version: 3.8.1 Standards-Version: 3.8.1
Homepage: http://krecipes.sourceforge.net/ Homepage: http://krecipes.sourceforge.net/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-kde/kde-extras/krecipes/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-kde/kde-extras/krecipes/trunk/

@ -1,3 +1,2 @@
debian/tmp/opt/trinity/bin debian/tmp/opt/trinity/bin
debian/tmp/opt/trinity/share/applications
debian/tmp/opt/trinity/share/applnk/Utilities/krecipes.desktop opt/trinity/share/applications/

@ -1,34 +1,17 @@
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk include debian/cdbs/debian-tde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include DEB_CMAKE_EXTRA_FLAGS := \
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
DEB_CONFIGURE_PREFIX := /opt/trinity -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info -DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
post-patches:: debian/stamp-bootstrap -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
debian/stamp-bootstrap: -DCMAKE_VERBOSE_MAKEFILE="ON" \
dh_testdir -DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
# Regenerate build system -DWITH_ALL_OPTIONS="ON"
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
endif
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
endif
ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
$(MAKE) -f admin/Makefile.common && \
touch debian/stamp-bootstrap
clean::
dh_testdir
rm -f debian/stamp-bootstrap

@ -3,7 +3,7 @@ Section: tde
Priority: optional Priority: optional
Maintainer: TDE Debian Team <team-debian@trinitydesktop.org> Maintainer: TDE Debian Team <team-debian@trinitydesktop.org>
Uploaders: Matthias Julius <mdeb@julius-net.net> Uploaders: Matthias Julius <mdeb@julius-net.net>
Build-Depends: cdbs, debhelper (>= 10~), autotools-dev, automake, libtool, chrpath, tdelibs14-trinity-dev, libsqlite3-dev, default-libmysqlclient-dev | libmysqlclient-dev, libpq-dev Build-Depends: cdbs, debhelper (>= 10~), quilt, tde-cmake, ninja-build, tdelibs14-trinity-dev, libsqlite3-dev, default-libmysqlclient-dev | libmysqlclient-dev, libpq-dev
Standards-Version: 3.8.1 Standards-Version: 3.8.1
Homepage: http://krecipes.sourceforge.net/ Homepage: http://krecipes.sourceforge.net/
Vcs-Browser: http://svn.debian.org/viewsvn/pkg-kde/kde-extras/krecipes/trunk/ Vcs-Browser: http://svn.debian.org/viewsvn/pkg-kde/kde-extras/krecipes/trunk/

@ -1,3 +1,2 @@
debian/tmp/opt/trinity/bin debian/tmp/opt/trinity/bin
debian/tmp/opt/trinity/share/applications
debian/tmp/opt/trinity/share/applnk/Utilities/krecipes.desktop opt/trinity/share/applications/

@ -1,34 +1,17 @@
#!/usr/bin/make -f #!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/cmake.mk
include debian/cdbs/debian-tde.mk include debian/cdbs/debian-tde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include DEB_CMAKE_EXTRA_FLAGS := \
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \
DEB_CONFIGURE_PREFIX := /opt/trinity -DCMAKE_INSTALL_PREFIX="/opt/trinity" \
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info -DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
post-patches:: debian/stamp-bootstrap -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
debian/stamp-bootstrap: -DCMAKE_VERBOSE_MAKEFILE="ON" \
dh_testdir -DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
# Regenerate build system -DWITH_ALL_OPTIONS="ON"
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" ""
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh
endif
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
endif
ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
endif
cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
autoreconf --install && automake -f && \
$(MAKE) -f admin/Makefile.common && \
touch debian/stamp-bootstrap
clean::
dh_testdir
rm -f debian/stamp-bootstrap

Loading…
Cancel
Save