Author: frankie
Date: 2008-06-23 09:36:06 +0000 (Mon, 23 Jun 2008)
New Revision: 1662

Added:
   packages/libhdf4/trunk/debian/patches/config
Removed:
   packages/libhdf4/trunk/debian/rules.old
Modified:
   packages/libhdf4/trunk/debian/README.source
   packages/libhdf4/trunk/debian/changelog
   packages/libhdf4/trunk/debian/control
   packages/libhdf4/trunk/debian/copyright
   packages/libhdf4/trunk/debian/docbase-ref
   packages/libhdf4/trunk/debian/docbase-user
   packages/libhdf4/trunk/debian/libhdf4g-doc.install
   packages/libhdf4/trunk/debian/libhdf4g-doc.postinst
   packages/libhdf4/trunk/debian/libhdf4g-doc.prerm
   packages/libhdf4/trunk/debian/patches/series
   packages/libhdf4/trunk/debian/rules
Log:
Many different changes:


Modified: packages/libhdf4/trunk/debian/README.source
===================================================================
--- packages/libhdf4/trunk/debian/README.source 2008-06-22 20:06:34 UTC (rev 
1661)
+++ packages/libhdf4/trunk/debian/README.source 2008-06-23 09:36:06 UTC (rev 
1662)
@@ -10,7 +10,7 @@
 source tree. Note that upstream sources still need extensive
 patching in order to generate shared libs and the soname used
 is also Debian specific. HDF4 is essentially frozen but 
-sometimes API changes happens and you should track accurately
+sometimes API changes happen and you should track accurately
 the possible issues.
 
 -- Francesco Paolo Lovergine <[EMAIL PROTECTED]>  Thu Jun 19 16:36:41 CEST 2008

Modified: packages/libhdf4/trunk/debian/changelog
===================================================================
--- packages/libhdf4/trunk/debian/changelog     2008-06-22 20:06:34 UTC (rev 
1661)
+++ packages/libhdf4/trunk/debian/changelog     2008-06-23 09:36:06 UTC (rev 
1662)
@@ -7,7 +7,9 @@
     has been updated for modern architectures (amd64 and ia64) and endianess
     is now dinamically found. That allow dropping some Debian patches to
     upstream code. Still it needs extended patches to support shared
-    libraries, which are not provided by upstream.
+    libraries, which are not provided by upstream. Also retained Debian
+    additional manpages and documentation.
+  * Added a README.Debian.
   * Debian SONAME retained lib*.so.4 for compatibility, but changed solibs 
     to a more conventional lib*.so.4.2.3 name.
     (closes: #217010, #482914, #437098)
@@ -18,18 +20,24 @@
         o Moved to use gfortran.
           (closes: #456297)
         o Moved libhdf4g-dev to libdevel section as by ftpmasters override.
+        o Fixes for ppc64 and x86_64 are already merged upstream. 
   * Debian support modernized to use debhelper. Rules file rewritten
-    from scratch to simplify maintainance.
-  * Moved to quilt to maintain Debian patches to upstream code. Old patches
+    from scratch to simplify mantainance.
+  * Moved to quilt to mantain Debian patches to upstream code. Old patches
     updated due to some merged changes in upstream code.
   * Debhelper compatibility set to 5.
   * Added a README.source to explain differences introduced into
     upstream sources to support Debian way of life.
   * Moved to use modern ${binary:Version} in debian/control.
   * Introduced Homepage field in debian/control.
+  * Added Vcs-* fields to debian/control.
   * Policy bumped to 3.8.0.
+  * Added dephelper hooks to libhdf4-doc.{prerm|postinst} scripts.
+  * Added a lintian override file debian/lintian about library source name.
+  * New sections used for doc-base headers used in libhdf4g-doc.
+  * Removed obsolete groff build-dep.
 
- -- Francesco Paolo Lovergine <[EMAIL PROTECTED]>  Sat, 21 Jun 2008 11:43:56 
+0200
+ -- Francesco Paolo Lovergine <[EMAIL PROTECTED]>  Mon, 23 Jun 2008 11:23:26 
+0200
 
 libhdf4 (4.1r4-20) unstable; urgency=low
 

Modified: packages/libhdf4/trunk/debian/control
===================================================================
--- packages/libhdf4/trunk/debian/control       2008-06-22 20:06:34 UTC (rev 
1661)
+++ packages/libhdf4/trunk/debian/control       2008-06-23 09:36:06 UTC (rev 
1662)
@@ -3,9 +3,11 @@
 Priority: optional
 Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
 Uploaders: Francesco Paolo Lovergine <[EMAIL PROTECTED]>
-Build-depends: debhelper (>=5.0), gfortran, sharutils, libjpeg62-dev, 
zlib1g-dev, bison, flex, groff, autotools-dev, quilt
+Build-depends: debhelper (>=5.0), gfortran, sharutils, libjpeg62-dev, 
zlib1g-dev, bison, flex, autotools-dev, quilt
 Standards-Version: 3.8.0
 Homepage: http://www.hdfgroup.com/
+Vcs-Browser: http://svn.debian.org/viewsvn/pkg-grass/packages/libhdf4/trunk
+Vcs-Svn: svn://svn.debian.org/svn/pkg-grass/packages/libhdf4/trunk
 
 Package: libhdf4g
 Section: libs

Modified: packages/libhdf4/trunk/debian/copyright
===================================================================
--- packages/libhdf4/trunk/debian/copyright     2008-06-22 20:06:34 UTC (rev 
1661)
+++ packages/libhdf4/trunk/debian/copyright     2008-06-23 09:36:06 UTC (rev 
1662)
@@ -59,9 +59,10 @@
 
 ---------------------------------------------------------------------------
 
-The packaging is Copyright 1997, 1998, 1999, 2000, 2001 Philippe Troin
+The original packaging is Copyright 1997, 1998, 1999, 2000, 2001 Philippe Troin
 <[EMAIL PROTECTED]> and is licensed under the GNU General Public License (GPL).
 On Debian systems, the GPL can be found in /usr/share/common-licenses/GPL.
 Packaging has been extensively changed in release 4.2r3 by 
-Francesco Paolo Lovergine <[EMAIL PROTECTED]>
+Francesco Paolo Lovergine <[EMAIL PROTECTED]> and released under the
+same terms.
 

Modified: packages/libhdf4/trunk/debian/docbase-ref
===================================================================
--- packages/libhdf4/trunk/debian/docbase-ref   2008-06-22 20:06:34 UTC (rev 
1661)
+++ packages/libhdf4/trunk/debian/docbase-ref   2008-06-23 09:36:06 UTC (rev 
1662)
@@ -6,7 +6,7 @@
  interfaces. The following list provides the name of all available
  interfaces. Click on an interface name to see the list of available
  routines for that interface.
-Section: Apps/Programming
+Section: Programming
 
 Format: HTML
 Files: /usr/share/doc/libhdf4g/html-reference/*

Modified: packages/libhdf4/trunk/debian/docbase-user
===================================================================
--- packages/libhdf4/trunk/debian/docbase-user  2008-06-22 20:06:34 UTC (rev 
1661)
+++ packages/libhdf4/trunk/debian/docbase-user  2008-06-23 09:36:06 UTC (rev 
1662)
@@ -13,7 +13,7 @@
  - Platform independence. 
  - Extensibility for future enhancements and compatibility with other
     standard formats.
-Section: Apps/Math
+Section: Programming
 
 Format: HTML
 Files: /usr/share/doc/libhdf4g/html-userguide/*

Modified: packages/libhdf4/trunk/debian/libhdf4g-doc.install
===================================================================
--- packages/libhdf4/trunk/debian/libhdf4g-doc.install  2008-06-22 20:06:34 UTC 
(rev 1661)
+++ packages/libhdf4/trunk/debian/libhdf4g-doc.install  2008-06-23 09:36:06 UTC 
(rev 1662)
@@ -1,3 +1,4 @@
 usr/share/doc/libhdf4g/RefMan41r3_html/* usr/share/doc/libhdf4g/html-reference
 usr/share/doc/libhdf4g/UG41r3_html/* usr/share/doc/libhdf4g/html-userguide
 usr/share/doc/libhdf4g/UG_Examples/* usr/share/doc/libhdf4g/examples
+usr/share/doc-base/*

Modified: packages/libhdf4/trunk/debian/libhdf4g-doc.postinst
===================================================================
--- packages/libhdf4/trunk/debian/libhdf4g-doc.postinst 2008-06-22 20:06:34 UTC 
(rev 1661)
+++ packages/libhdf4/trunk/debian/libhdf4g-doc.postinst 2008-06-23 09:36:06 UTC 
(rev 1662)
@@ -9,3 +9,5 @@
     install-docs -i /usr/share/doc-base/libhdf4-user
   fi
 fi
+
+#DEBHELPER#

Modified: packages/libhdf4/trunk/debian/libhdf4g-doc.prerm
===================================================================
--- packages/libhdf4/trunk/debian/libhdf4g-doc.prerm    2008-06-22 20:06:34 UTC 
(rev 1661)
+++ packages/libhdf4/trunk/debian/libhdf4g-doc.prerm    2008-06-23 09:36:06 UTC 
(rev 1662)
@@ -9,3 +9,5 @@
     install-docs -r libhdf4-user
   fi
 fi
+
+#DEBHELPER#

Added: packages/libhdf4/trunk/debian/patches/config
===================================================================
--- packages/libhdf4/trunk/debian/patches/config                                
(rev 0)
+++ packages/libhdf4/trunk/debian/patches/config        2008-06-23 09:36:06 UTC 
(rev 1662)
@@ -0,0 +1,86 @@
+Index: trunk/HDF4/config/ia64-linux-gnu
+===================================================================
+--- trunk.orig/HDF4/config/ia64-linux-gnu      2008-06-22 22:59:13.000000000 
+0200
++++ trunk/HDF4/config/ia64-linux-gnu   2008-06-22 23:00:06.000000000 +0200
+@@ -94,9 +94,9 @@
+ case $CC_BASENAME in
+   gcc)
+     CFLAGS="$CFLAGS"
+-    DEBUG_CFLAGS="-g -fverbose-asm"
++    DEBUG_CFLAGS="-g -O0 -fverbose-asm"
+     DEBUG_CPPFLAGS=
+-    PROD_CFLAGS="-O3 -fomit-frame-pointer"
++    PROD_CFLAGS="-O2"
+     PROD_CPPFLAGS=
+     PROFILE_CFLAGS="-pg"
+     PROFILE_CPPFLAGS=
+@@ -114,10 +114,10 @@
+ esac
+ 
+ case $F77_BASENAME in 
+-  g77)
++  g77|gfortran)
+     FFLAGS="$FFLAGS -Wsign-compare"
+     DEBUG_FFLAGS="-g"
+-    PROD_FFLAGS="-O3 -fomit-frame-pointer"
++    PROD_FFLAGS="-O2"
+     PROFILE_FFLAGS="-pg"
+     ;;
+ 
+Index: trunk/HDF4/config/linux-gnu
+===================================================================
+--- trunk.orig/HDF4/config/linux-gnu   2008-06-22 22:54:48.000000000 +0200
++++ trunk/HDF4/config/linux-gnu        2008-06-22 22:59:06.000000000 +0200
+@@ -26,8 +26,8 @@
+ fi
+ 
+ if test "X-$F77" = "X-"; then
+-  F77=g77
+-  F77_BASENAME=g77
++  F77=gfortran
++  F77_BASENAME=gfortran
+ 
+ else
+     case $F77 in
+@@ -121,9 +121,9 @@
+ case $CC_BASENAME in
+   gcc)
+     CFLAGS="$CFLAGS"
+-    DEBUG_CFLAGS="-g -fverbose-asm"
++    DEBUG_CFLAGS="-g -O0 -fverbose-asm"
+     DEBUG_CPPFLAGS=
+-    PROD_CFLAGS="-O3 -fomit-frame-pointer"
++    PROD_CFLAGS="-O2"
+     PROD_CPPFLAGS=
+     PROFILE_CFLAGS="-pg"
+     PROFILE_CPPFLAGS=
+@@ -143,23 +143,23 @@
+ case $F77_BASENAME in 
+   g77)
+     FFLAGS="$FFLAGS -Wsign-compare"
+-    DEBUG_FFLAGS="-g"
+-    PROD_FFLAGS="-O3 -fomit-frame-pointer"
++    DEBUG_FFLAGS="-g -O0"
++    PROD_FFLAGS="-O2"
+     PROFILE_FFLAGS="-pg"
+     ;;
+ 
+-  f95)
++  f95|gfortran)
+     CFLAGS="$CFLAGS"
+     FFLAGS="$FFLAGS"
+-    DEBUG_FFLAGS="-g"
+-    PROD_FFLAGS="-O"
++    DEBUG_FFLAGS="-g -O0"
++    PROD_FFLAGS="-O2"
+     PROFILE_FFLAGS="-pg"
+     ;;
+ 
+   g95)
+     CFLAGS="$CFLAGS"
+     FFLAGS="$FFLAGS -i4"
+-    DEBUG_FFLAGS="-g"
++    DEBUG_FFLAGS="-g -O0"
+     PROD_FFLAGS="-O"
+     PROFILE_FFLAGS="-pg"
+     ;;

Modified: packages/libhdf4/trunk/debian/patches/series
===================================================================
--- packages/libhdf4/trunk/debian/patches/series        2008-06-22 20:06:34 UTC 
(rev 1661)
+++ packages/libhdf4/trunk/debian/patches/series        2008-06-23 09:36:06 UTC 
(rev 1662)
@@ -3,3 +3,4 @@
 man
 64bit
 hdfi.h
+config

Modified: packages/libhdf4/trunk/debian/rules
===================================================================
--- packages/libhdf4/trunk/debian/rules 2008-06-22 20:06:34 UTC (rev 1661)
+++ packages/libhdf4/trunk/debian/rules 2008-06-23 09:36:06 UTC (rev 1662)
@@ -88,6 +88,10 @@
        for archive in $(CURDIR)/debian/*.uue; do \
                uudecode -o /dev/stdout $${archive} | tar xzf - -C 
$(DESTDIR)/usr/share/doc/$(PACKAGE); \
        done
+       find $(DESTDIR)/usr/share/doc/$(PACKAGE)/UG_Examples -type f -exec 
chmod a-x {} \;
+       install -d -o root -g root $(DESTDIR)/usr/share/doc-base
+       cp $(CURDIR)/debian/docbase-ref 
$(DESTDIR)/usr/share/doc-base/libhdf4-ref
+       cp $(CURDIR)/debian/docbase-user 
$(DESTDIR)/usr/share/doc-base/libhdf4-user
        touch $@
 
 

Deleted: packages/libhdf4/trunk/debian/rules.old
===================================================================
--- packages/libhdf4/trunk/debian/rules.old     2008-06-22 20:06:34 UTC (rev 
1661)
+++ packages/libhdf4/trunk/debian/rules.old     2008-06-23 09:36:06 UTC (rev 
1662)
@@ -1,218 +0,0 @@
-#!/usr/bin/make -f
-# Sample debian.rules file - for GNU Hello (1.3).
-# Copyright 1994,1995 by Ian Jackson.
-# I hereby give you perpetual unlimited permission to copy,
-# modify and relicense this file, provided that you do not remove
-# my name from the file itself.  (I assert my moral right of
-# paternity under the Copyright, Designs and Patents Act 1988.)
-# This file may have to be extensively modified
-# Adapted for the HDF package.
-# Copyright (C) 1997, 1998, 1999, 2000, 2001 Philippe Troin <[EMAIL PROTECTED]>
-
-SHELL=/bin/bash
-
-package=libhdf4g
-arch=$(shell dpkg --print-gnu-build-architecture)
-
-DEBCFLAGS:=-g
-DEBSTRIP:=strip
-WGET=wget
-ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-DEBCFLAGS += -O0
-else
-DEBCFLAGS += -O2
-endif
-ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
-DEBSTRIP:=true
-endif
-
-DEBVERSION:=$(shell head -1 debian/changelog \
-                   | sed -e 's/^[^(]*(\([^)]*\)).*/\1/')
-UPVERSION:=$(shell echo $(DEBVERSION) | sed -e 's/-[0-9.]*$$//')
-sominor:=$(UPVERSION)
-somajor:=$(shell echo $(UPVERSION) | sed -e 's/^\([0-9]*\)\..*$$/\1/')
-export somajor sominor
-
-# Temporary arm hack: g77 PIC is broken, so don't put fortran objects
-# in the solib, but put them in the .a.
-ifeq ($(shell dpkg --print-architecture),arm)
-export NOFORTRANINSOLIB=yes
-endif
-
-build:
-       $(checkdir)
-       cat debian/copyright.in COPYING > debian/copyright
-       cp -f /usr/share/misc/config.{guess,sub} .
-       cp -f /usr/share/misc/config.{guess,sub} hdf/fmpool
-       ./configure --prefix=/usr
-       $(MAKE) all CFLAGS="$(DEBCFLAGS)" FFLAGS="$(DEBCFLAGS)"
-       touch build
-
-clean:
-       $(checkdir)
-       -rm -f debian/copyright debian/shlibs
-       -rm -f build
-       [ ! -f Makefile ] || $(MAKE) -i distclean
-       -rm -f mfhdf/libsrc/test_cdf.sav
-       -rm -rf debian/tmp* debian/files* debian/substvars*
-       -rm -rf hdf/test/testdir
-       -find . -name "*~" | xargs rm -f
-
-binary-indep: prebinary
-       $(checkdir)
-       install -d debian/tmp-doc/DEBIAN
-       install -d debian/tmp-doc/usr/share/doc/$(package)-doc
-       cp debian/copyright debian/tmp-doc/usr/share/doc/$(package)-doc/
-       cp debian/changelog 
debian/tmp-doc/usr/share/doc/$(package)-doc/changelog.Debian
-       gzip -9v debian/tmp-doc/usr/share/doc/$(package)-doc/changelog.Debian
-       install -d debian/tmp-doc/usr/share/doc/$(package)
-       # Reference manual
-       (cd debian/tmp-doc/usr/share/doc/$(package); \
-         uudecode -o /dev/stdout ../../../../../RefMan41r3_html.tar.gz.uue \
-         | tar xzf - )
-       mv 
debian/tmp-doc/usr/share/doc/$(package)/{RefMan41r3_html,html-reference}
-       # User manual
-       (cd debian/tmp-doc/usr/share/doc/$(package); \
-         uudecode -o /dev/stdout ../../../../../UG41r3_html.tar.gz.uue \
-         | tar xzf - )
-       mv debian/tmp-doc/usr/share/doc/$(package)/{UG41r3_html,html-userguide}
-       # Examples
-       (cd debian/tmp-doc/usr/share/doc/$(package); \
-        uudecode -o /dev/stdout ../../../../../UG_Examples.tar.gz.uue \
-        | tar xzf -)
-       mv debian/tmp-doc/usr/share/doc/$(package)/{UG_Examples,examples}
-       find debian/tmp-doc/usr/share/doc/$(package)/examples \
-         -type f -print0 | xargs -r0 gzip -v9
-       # Docbase
-       install -d debian/tmp-doc/usr/share/doc-base
-       cp debian/docbase-ref debian/tmp-doc/usr/share/doc-base/libhdf4-ref
-       cp debian/docbase-user debian/tmp-doc/usr/share/doc-base/libhdf4-user
-       # Postinst-rm stuff
-       cp debian/postinst-doc debian/tmp-doc/DEBIAN/postinst
-       cp debian/prerm-doc debian/tmp-doc/DEBIAN/prerm
-       chmod +x debian/tmp-doc/DEBIAN/{postinst,prerm}
-       # Build it
-       dpkg-gencontrol -isp -Pdebian/tmp-doc -p$(package)-doc
-       chown -R root.root debian/tmp-doc
-       chmod -R u+w,a+rX,go-wst debian/tmp-doc
-       find debian/tmp-doc/usr/share/doc/$(package) -type f | xargs chmod -x
-       dpkg --build debian/tmp-doc ..
-
-binary-arch:   prebinary binary-lib binary-dev binary-run
-
-prebinary: build
-       $(checkdir)
-       -rm -rf debian/tmp*
-       install -d debian/tmp
-       $(MAKE) install prefix=`pwd`/debian/tmp/usr
-       : > debian/shlibs
-       set -eu; \
-       for i in `cd debian/tmp/usr/lib && ls *.so | sed -e 's!\.so$$!!'`; \
-       do \
-         echo "$$i $(somajor) $(package) (>=$(sominor))" >> debian/shlibs; \
-       done
-
-binary-run:
-       install -d debian/tmp-run
-       install -d debian/tmp-run/DEBIAN
-       install -d debian/tmp-run/usr/share/doc
-       ln -s $(package) debian/tmp-run/usr/share/doc/hdf4-tools
-       mv debian/tmp{,-run}/usr/bin
-       $(DEBSTRIP) --remove-section=.comment --remove-section=.note \
-             debian/tmp-run/usr/bin/*
-       install -d debian/tmp-run/usr/share/man
-       mv debian/tmp/usr/man/man1 debian/tmp-run/usr/share/man/man1
-       # Rename ncgen and ncdump
-       mv debian/tmp-run/usr/bin/ncgen{,-hdf}
-       mv debian/tmp-run/usr/bin/ncdump{,-hdf}
-       mv debian/tmp-run/usr/share/man/man1/ncgen{,-hdf}.1
-       mv debian/tmp-run/usr/share/man/man1/ncdump{,-hdf}.1
-       cp debian/man/*.1 debian/tmp-run/usr/share/man/man1
-       gzip -v9 debian/tmp-run/usr/share/man/man1/*
-       cd debian/tmp-run/usr/bin; \
-         for i in *; do \
-           if [ ! -f ../share/man/man1/$$i.1.gz ] ; then \
-             ln -s ../man7/undocumented.7.gz ../share/man/man1/$$i.1.gz; \
-           fi ; \
-          done
-       dpkg-shlibdeps debian/tmp-run/usr/bin/*
-       dpkg-gencontrol -isp -Pdebian/tmp-run -phdf4-tools
-       chown -R root.root debian/tmp-run
-       chmod -R u+w,a+rX,go-wst debian/tmp-run
-       dpkg --build debian/tmp-run ..
-
-binary-lib:
-       # Debian stuff
-       install -d debian/tmp-lib
-       install -d debian/tmp-lib/DEBIAN
-       install -d debian/tmp-lib/usr/share/doc/$(package)
-       cp debian/postinst-lib debian/tmp-lib/DEBIAN/postinst
-       cp debian/postrm-lib debian/tmp-lib/DEBIAN/postrm
-       chmod +x debian/tmp-lib/DEBIAN/{postinst,postrm}
-       cp debian/shlibs debian/tmp-lib/DEBIAN
-       # Move relevant directories
-       install -d debian/tmp-lib/usr/lib
-       mv debian/tmp/usr/lib/libdf.so.$(sominor) debian/tmp-lib/usr/lib
-       mv debian/tmp/usr/lib/libdf.so.$(somajor) debian/tmp-lib/usr/lib
-       mv debian/tmp/usr/lib/libmfhdf.so.$(sominor) debian/tmp-lib/usr/lib
-       mv debian/tmp/usr/lib/libmfhdf.so.$(somajor) debian/tmp-lib/usr/lib
-       find debian/tmp-lib/usr/lib -type f \
-         | xargs $(DEBSTRIP) --strip-unneeded --remove-section=.comment \
-                       --remove-section=.note
-       chmod -x debian/tmp-lib/usr/lib/*
-       install -d debian/tmp-lib/usr/share/man/man5
-       mv debian/tmp/usr/man/man1/hdf.1 \
-         debian/tmp-lib/usr/share/man/man5/hdf.5
-       gzip -v9 debian/tmp-lib/usr/share/man/man5/*
-       # Docs
-       cp debian/copyright debian/tmp-lib/usr/share/doc/$(package)/
-       cp debian/README.arm-fortran debian/tmp-lib/usr/share/doc/$(package)
-       cp debian/changelog 
debian/tmp-lib/usr/share/doc/$(package)/changelog.Debian
-       gzip -9v 
debian/tmp-lib/usr/share/doc/$(package)/{changelog.Debian,README.arm-fortran}
-       dpkg-shlibdeps debian/tmp-lib/usr/lib/*.so*
-       dpkg-gencontrol -isp -Pdebian/tmp-lib -p$(package)
-       chown -R root.root debian/tmp-lib
-       chmod -R u+w,a+rX,go-wst debian/tmp-lib
-       dpkg --build debian/tmp-lib ..
-
-binary-dev:
-       # Debian stuff
-       install -d debian/tmp-dev/usr/share/doc
-       install -d debian/tmp-dev/DEBIAN
-       ln -s $(package) debian/tmp-dev/usr/share/doc/$(package)-dev
-       # Move stuff
-       install -d debian/tmp-dev/usr/include
-       mv debian/tmp/usr/include debian/tmp-dev/usr/include/hdf
-       mv debian/tmp{,-dev}/usr/lib
-       $(DEBSTRIP) --remove-section=.comment --remove-section=.note \
-             --strip-debug \
-             debian/tmp-dev/usr/lib/libdf.a debian/tmp-dev/usr/lib/libmfhdf.a
-       dpkg-gencontrol -isp -Pdebian/tmp-dev -p$(package)-dev
-       chown -R root.root debian/tmp-dev
-       chmod -R u+w,a+rX,go-wst debian/tmp-dev
-       dpkg --build debian/tmp-dev ..
-
-define checkdir
-       test -d hdf -a -f debian/rules
-endef
-
-# Below here is fairly generic really
-
-binary:                binary-indep binary-arch
-
-checkroot:
-       $(checkdir)
-       test root = "`whoami`"
-
-print-version:
-       @@echo "Debian version:          $(DEBVERSION)"
-       @@echo "Upstream version:        $(UPVERSION)"
-       @@echo "Soname major rev.:       $(somajor)"
-       @@echo "Soname minor rev.:       $(sominor)"
-
-get-orig-source:
-       $(WGET) -O libhdf4_$(UPVERSION).orig.tar.gz \
-        ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/tar/HDF$(UPVERSION).tar.gz
-
-.PHONY: binary binary-arch binary-indep clean checkroot print-version \
-       get-orig-source


_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to