| 1 |
|
| 2 |
|
| 3 |
export DEB_BUILD_MAINT_OPTIONSscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/DEB_BUILD_MAINT_OPTIONS. = hardening=+all optimize=+lto |
| 4 |
|
| 5 |
ifeq ($(DEB_HOST_ARCH_CPUscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/DEB_HOST_ARCH_CPU.),i386) |
| 6 |
export DEB_CXXFLAGS_MAINT_APPEND += -ffloat-store -fexcess-precision=fast |
| 7 |
endif |
| 8 |
|
| 9 |
%scip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/`%`().: |
| 10 |
dh $@ --with pkgkde_symbolshelper --buildsystem cmake |
| 11 |
|
| 12 |
override_dh_auto_configurescip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/override_dh_auto_configure().: |
| 13 |
dh_auto_configurescip-debian debian debhelper . dh_auto_configure(). -- \ |
| 14 |
-DEXIV2_ENABLE_BMFF=ON \ |
| 15 |
-DEXIV2_ENABLE_NLS=ON \ |
| 16 |
-DEXIV2_ENABLE_VIDEO=ON \ |
| 17 |
-DEXIV2_ENABLE_WEBREADY=ON \ |
| 18 |
-DEXIV2_BUILD_UNIT_TESTS=ON \ |
| 19 |
-DEXIV2_BUILD_SAMPLES=OFF \ |
| 20 |
-DEXIV2_BUILD_DOC=$(if $(filter libexiv2-doc, $(shell dh_listpackagesscip-debian debian debhelper . dh_listpackages().)),ON,OFF) \ |
| 21 |
-DCMAKE_INSTALL_DOCDIR=/usr/share/doc/exiv2/html |
| 22 |
|
| 23 |
execute_after_dh_auto_installscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/execute_after_dh_auto_install().: |
| 24 |
find $(CURDIRscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/CURDIR.)/debian -type f -name exiv2 | xargs /usr/bin/chrpath -d |
| 25 |
|
| 26 |
execute_after_dh_auto_build-indepscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/execute_after_dh_auto_build-indep().: |
| 27 |
dh_auto_buildscip-debian debian debhelper . dh_auto_build(). -- doc |
| 28 |
|
| 29 |
override_dh_auto_testscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/override_dh_auto_test().: |
| 30 |
|
| 31 |
dh_auto_testscip-debian debian debhelper . dh_auto_test(). --no-parallel |
| 32 |
|
| 33 |
override_dh_installdocsscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/override_dh_installdocs().: |
| 34 |
dh_installdocsscip-debian debian debhelper . dh_installdocs(). -A -Xcmd.txt -XMakefile -Xtemplates -XChangeLog |
| 35 |
find $(CURDIRscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/CURDIR.)/debian -name jquery.js -exec ln -sfv /usr/share/javascript/jquery/jquery.js {} \; |
| 36 |
find $(CURDIRscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/CURDIR.)/debian \( -name '*.map' -o -name '*.md5' \) -delete |
| 37 |
|
| 38 |
override_dh_installchangelogsscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/override_dh_installchangelogs().: |
| 39 |
dh_installchangelogsscip-debian debian debhelper . dh_installchangelogs(). -A doc/ChangeLog |
| 40 |
|
| 41 |
override_dh_compressscip-debian debian exiv2 0.28.9+dfsg-1 exiv2/rules/override_dh_compress().: |
| 42 |
dh_compressscip-debian debian debhelper . dh_compress(). -X.js -X.xml |