DEB tdeio-sword: Switch to cmake.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/14/head
Slávek Banko 6 years ago
parent 39bc99dc9f
commit 54e587586a
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -61,7 +61,7 @@ endif
cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/tde" DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:

@ -2,7 +2,7 @@ Source: tdeio-sword-trinity
Section: tde Section: tde
Priority: extra Priority: extra
Maintainer: Raphaël Pinson <raphink@raphink.net> Maintainer: Raphaël Pinson <raphink@raphink.net>
Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, automake, libtool-bin | libtool (<< 2.4.2-1.11), libtool, libsword-dev (>= 1.5.8-1), tdelibs14-trinity-dev Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, cmake, libsword-dev (>= 1.5.8-1), tdelibs14-trinity-dev
Standards-Version: 3.7.2 Standards-Version: 3.7.2
Package: tdeio-sword-trinity Package: tdeio-sword-trinity

@ -1,3 +1,4 @@
AUTHORS
NEWS NEWS
README README
TODO TODO

@ -1,38 +1,20 @@
#!/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 /usr/share/cdbs/1/rules/patchsys-quilt.mk include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk include debian/cdbs/debian-qt-kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2) && echo xz || echo bzip2)
post-patches:: debian/stamp-bootstrap DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
debian/stamp-bootstrap: -DCONFIG_INSTALL_DIR="/etc/trinity" \
dh_testdir -DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
# Regenerate build system -DCMAKE_BUILD_TYPE=RelWithDebInfo \
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" "" -DCMAKE_VERBOSE_MAKEFILE="ON" \
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh -DCMAKE_SKIP_RPATH="OFF" \
endif -DBUILD_ALL="ON" \
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" "" -DWITH_ALL_OPTIONS="ON"
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

@ -61,7 +61,7 @@ endif
cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/tde" DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:

@ -2,7 +2,7 @@ Source: tdeio-sword-trinity
Section: tde Section: tde
Priority: extra Priority: extra
Maintainer: Raphaël Pinson <raphink@raphink.net> Maintainer: Raphaël Pinson <raphink@raphink.net>
Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, automake, libtool-bin | libtool (<< 2.4.2-1.11), libtool, libsword-dev (>= 1.5.8-1), tdelibs14-trinity-dev Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, cmake, libsword-dev (>= 1.5.8-1), tdelibs14-trinity-dev
Standards-Version: 3.7.2 Standards-Version: 3.7.2
Package: tdeio-sword-trinity Package: tdeio-sword-trinity

@ -1,3 +1,4 @@
AUTHORS
NEWS NEWS
README README
TODO TODO

@ -1,38 +1,20 @@
#!/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 /usr/share/cdbs/1/rules/patchsys-quilt.mk #include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk include debian/cdbs/debian-qt-kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2) && echo xz || echo bzip2)
post-patches:: debian/stamp-bootstrap DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
debian/stamp-bootstrap: -DCONFIG_INSTALL_DIR="/etc/trinity" \
dh_testdir -DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
# Regenerate build system -DCMAKE_BUILD_TYPE=RelWithDebInfo \
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" "" -DCMAKE_VERBOSE_MAKEFILE="ON" \
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh -DCMAKE_SKIP_RPATH="OFF" \
endif -DBUILD_ALL="ON" \
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" "" -DWITH_ALL_OPTIONS="ON"
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

@ -61,7 +61,7 @@ endif
cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/tde" DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:

@ -2,7 +2,7 @@ Source: tdeio-sword-trinity
Section: tde Section: tde
Priority: extra Priority: extra
Maintainer: Raphaël Pinson <raphink@raphink.net> Maintainer: Raphaël Pinson <raphink@raphink.net>
Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, automake, libtool-bin | libtool (<< 2.4.2-1.11), libtool, libsword-dev (>= 1.5.8-1), tdelibs14-trinity-dev Build-Depends: debhelper (>= 7.0.50~), quilt, cdbs, cmake, libsword-dev (>= 1.5.8-1), tdelibs14-trinity-dev
Standards-Version: 3.7.2 Standards-Version: 3.7.2
Package: tdeio-sword-trinity Package: tdeio-sword-trinity

@ -1,3 +1,4 @@
AUTHORS
NEWS NEWS
README README
TODO TODO

@ -1,38 +1,20 @@
#!/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 /usr/share/cdbs/1/rules/patchsys-quilt.mk #include /usr/share/cdbs/1/rules/patchsys-quilt.mk
include debian/cdbs/kde.mk include debian/cdbs/debian-qt-kde.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include
DEB_CONFIGURE_MANDIR := /opt/trinity/share/man
DEB_CONFIGURE_PREFIX := /opt/trinity
DEB_CONFIGURE_INFODIR := /opt/trinity/share/info
DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \
&& echo xz || echo bzip2) && echo xz || echo bzip2)
post-patches:: debian/stamp-bootstrap DEB_CMAKE_EXTRA_FLAGS := \
-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
debian/stamp-bootstrap: -DCONFIG_INSTALL_DIR="/etc/trinity" \
dh_testdir -DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
# Regenerate build system -DCMAKE_BUILD_TYPE=RelWithDebInfo \
ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" "" -DCMAKE_VERBOSE_MAKEFILE="ON" \
cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh -DCMAKE_SKIP_RPATH="OFF" \
endif -DBUILD_ALL="ON" \
ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" "" -DWITH_ALL_OPTIONS="ON"
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