Priority: optional
Maintainer: Vitaly Repin <vitaly.repin@gmail.com>
Standards-Version: 4.2.6
-Build-Depends: debhelper (>= 5), libpng12-dev, libx11-dev, libxt-dev, pkg-config, texinfo (>= 4.8), tetex-bin, tetex-extra, zlib1g-dev, libgd2-noxpm-dev, dpatch, libcairo2-dev, libpango1.0-dev
+Build-Depends: debhelper (>= 5), libpng12-dev, libx11-dev, libxt-dev, pkg-config, texinfo (>= 4.8), tetex-bin, tetex-extra, zlib1g-dev, libgd2-noxpm-dev, dpatch, libcairo2-dev, libpango1.0-dev, maemo-optify
XB-Maemo-Display-Name: Gnuplot
XSBC-Bugtracker: https://bugs.maemo.org/enter_bug.cgi?product=Gnuplot
install-info --quiet /usr/share/info/gnuplot.info
fi
# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = "configure" ]; then
+ install-info --quiet /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = "configure" ]; then
+ install-info --quiet /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = "configure" ]; then
+ install-info --quiet /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = "configure" ]; then
+ install-info --quiet /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = "configure" ]; then
+ install-info --quiet /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = "configure" ]; then
+ install-info --quiet /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = "configure" ]; then
+ install-info --quiet /usr/share/info/gnuplot.info
+fi
+# End automatically added section
install-info --quiet --remove /usr/share/info/gnuplot.info
fi
# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = remove ] || [ "$1" = upgrade ]; then
+ install-info --quiet --remove /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = remove ] || [ "$1" = upgrade ]; then
+ install-info --quiet --remove /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = remove ] || [ "$1" = upgrade ]; then
+ install-info --quiet --remove /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = remove ] || [ "$1" = upgrade ]; then
+ install-info --quiet --remove /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = remove ] || [ "$1" = upgrade ]; then
+ install-info --quiet --remove /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = remove ] || [ "$1" = upgrade ]; then
+ install-info --quiet --remove /usr/share/info/gnuplot.info
+fi
+# End automatically added section
+# Automatically added by dh_installinfo
+if [ "$1" = remove ] || [ "$1" = upgrade ]; then
+ install-info --quiet --remove /usr/share/info/gnuplot.info
+fi
+# End automatically added section
# also delete the eventual statoverride (if set)
set +e
-dpkg-statoverride --remove /usr/bin/gnuplot > /dev/null 2>&1
+dpkg-statoverride --remove /opt/maemo/usr/bin/gnuplot > /dev/null 2>&1
set -e
# ... and finally reset a possibly set suid-flag
-chmod 755 /usr/bin/gnuplot
+chmod 755 /opt/maemo/usr/bin/gnuplot
#DEBHELPER#
if [ "$1" = remove ] ; then
dpkg-divert --remove --package gnuplot-x11 --rename \
- --divert /usr/bin/gnuplot-nox /usr/bin/gnuplot
+ --divert /opt/maemo/usr/bin/gnuplot-nox /opt/maemo/usr/bin/gnuplot
fi
#DEBHELPER#
if [ "$1" = install ] || [ "$1" = upgrade ] ; then
dpkg-divert --add --package gnuplot-x11 --rename \
- --divert /usr/bin/gnuplot-nox /usr/bin/gnuplot
+ --divert /opt/maemo/usr/bin/gnuplot-nox /opt/maemo/usr/bin/gnuplot
fi
#DEBHELPER#
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
+ maemo-optify
dh_builddeb -a
-binary: binary-indep binary-arch
+binary: binary-indep binary-arch
+
.PHONY: build clean binary-indep binary-arch binary install