1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
#!/usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/makefile.mk
DEB_CONFIGURE_EXTRA_FLAGS += --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
DEB_DH_SHLIBDEPS_ARGS_libgeotranz3.7 := -l`pwd`/debian/libgeotranz3.7/usr/lib/$(DEB_HOST_MULTIARCH)/geotranz
build-indep:
make makefile-build-indep-target
build-arch:
make makefile-build-arch-target
install/geotranz::
convert GEOTRANS3/java_gui/geotrans3/gui/icons/Geotrans.gif debian/geotranz/usr/share/pixmaps/geotrans.xpm
install/libgeotranz3-dev::
cd CCS/src/; find . -type f -name '*.h' -print0 | \
cpio -pmdu0 ../../debian/libgeotranz3-dev/usr/include/geotranz
sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' debian/geotranz.pc.in > debian/geotranz.pc
binary-install/geotranz::
find debian/geotranz/usr/share/geotranz/data/ -type f -exec chmod -x {} +
#override_dh_auto_build:
# # create symlink
# ln -s /usr/share/fonts/truetype/dseg/DSEG7Modern-Regular.ttf platform/qt/Fonts/
# symlinks -c platform/qt/Fonts/
#override_dh_auto_clean:
# # delete symlink
# rm -rf platform/qt/Fonts/DSEG7Modern-Regular.ttf
|