[med-svn] r801 - trunk/packages/aeskulap/trunk/debian

tille at alioth.debian.org tille at alioth.debian.org
Tue Nov 13 14:55:58 UTC 2007


Author: tille
Date: 2007-11-13 14:55:58 +0000 (Tue, 13 Nov 2007)
New Revision: 801

Modified:
   trunk/packages/aeskulap/trunk/debian/control
   trunk/packages/aeskulap/trunk/debian/get-orig-source
   trunk/packages/aeskulap/trunk/debian/get-orig-source_patch
   trunk/packages/aeskulap/trunk/debian/rules
Log:
Enhanced get-orig-source target and added build-depends


Modified: trunk/packages/aeskulap/trunk/debian/control
===================================================================
--- trunk/packages/aeskulap/trunk/debian/control	2007-11-13 05:30:55 UTC (rev 800)
+++ trunk/packages/aeskulap/trunk/debian/control	2007-11-13 14:55:58 UTC (rev 801)
@@ -1,8 +1,9 @@
 Source: aeskulap
-Section: unknown
+Section: science
 Priority: extra
-Maintainer: Andreas Tille <tille at debian.org>
-Build-Depends: debhelper (>= 5), autotools-dev, libssl-dev, libgtkmm-2.4-dev, libglademm-2.4-dev, libgconfmm-2.6-dev
+Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
+Uploaders: Andreas Tille <tille at debian.org>
+Build-Depends: cdbs, debhelper (>= 5), autotools-dev, libssl-dev, libgtkmm-2.4-dev, libglademm-2.4-dev, libgconfmm-2.6-dev, libwrap0-dev, intltool, libdcmtk1-dev, libtiff4-dev
 Standards-Version: 3.7.2
 Homepage: http://aeskulap.nongnu.org
 

Modified: trunk/packages/aeskulap/trunk/debian/get-orig-source
===================================================================
--- trunk/packages/aeskulap/trunk/debian/get-orig-source	2007-11-13 05:30:55 UTC (rev 800)
+++ trunk/packages/aeskulap/trunk/debian/get-orig-source	2007-11-13 14:55:58 UTC (rev 801)
@@ -6,7 +6,17 @@
 UPSTREAMTAR="$NAME"-"$UVERSION".tar.gz
 UPSTREAMDIR=`basename $UPSTREAMTAR .tar.gz`
 
-patch="${0}_patch"
+patchname=get-orig-source_patch
+patchfile="$patchname"
+if [ ! -f "$patchfile" ] ; then
+    if [ -d debian -a -f "debian/$patchname" ] ; then
+	patchfile="debian/$patchname"
+    else
+	echo "File not found: $patchname"
+	exit -1
+    fi
+fi
+patchfile="`pwd`/$patchfile"
 
 # To rebuild the new upstream tarball you need these
 # packages installed.  This will be checked later on.
@@ -29,7 +39,6 @@
 fi
 
 mkdir -p ../tarballs
-cp -a "$patch" ../tarballs
 cd ../tarballs
 
 if [ ! -f "$UPSTREAMTAR" ] ; then
@@ -38,7 +47,7 @@
 tar -xzf "$UPSTREAMTAR"
 
 # Apply patch that removes dcmtk stuff from Makefile.in and configure.in
-patch -p0 < `basename $patch`
+patch -p0 < "$patchfile"
 
 cd "$UPSTREAMDIR"
 # remove dcmtk stuff

Modified: trunk/packages/aeskulap/trunk/debian/get-orig-source_patch
===================================================================
--- trunk/packages/aeskulap/trunk/debian/get-orig-source_patch	2007-11-13 05:30:55 UTC (rev 800)
+++ trunk/packages/aeskulap/trunk/debian/get-orig-source_patch	2007-11-13 14:55:58 UTC (rev 801)
@@ -51,7 +51,7 @@
  AC_SUBST(DCMTK_LIBS)
  
 +DCMTK_CFLAGS="-DHAVE_CONFIG_H -I\$(prefix)/include"
-+DCMTK_LIBS="-L\$(prefix)/lib -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -lofstd"
++DCMTK_LIBS="-L\$(prefix)/lib -ldcmjpeg -lijg8 -lijg12 -lijg16 -ldcmimage -ldcmimgle -ldcmnet -ldcmdata -lofstd -lwrap"
 +
  dnl set PREFIX
  if test "x${prefix}" = "xNONE"; then

Modified: trunk/packages/aeskulap/trunk/debian/rules
===================================================================
--- trunk/packages/aeskulap/trunk/debian/rules	2007-11-13 05:30:55 UTC (rev 800)
+++ trunk/packages/aeskulap/trunk/debian/rules	2007-11-13 14:55:58 UTC (rev 801)
@@ -1,6 +1,5 @@
 #!/usr/bin/make -f
 
-include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/autotools.mk
 




More information about the debian-med-commit mailing list