[med-svn] r2795 - trunk/packages/pvrg/trunk/debian

malat-guest at alioth.debian.org malat-guest at alioth.debian.org
Mon Dec 15 18:30:22 UTC 2008


Author: malat-guest
Date: 2008-12-15 18:30:21 +0000 (Mon, 15 Dec 2008)
New Revision: 2795

Modified:
   trunk/packages/pvrg/trunk/debian/control
   trunk/packages/pvrg/trunk/debian/rules
Log:
ENH: minor cleanup

Modified: trunk/packages/pvrg/trunk/debian/control
===================================================================
--- trunk/packages/pvrg/trunk/debian/control	2008-12-15 18:30:18 UTC (rev 2794)
+++ trunk/packages/pvrg/trunk/debian/control	2008-12-15 18:30:21 UTC (rev 2795)
@@ -1,9 +1,9 @@
 Source: pvrg
 Section: graphics
-Priority: optional
 Maintainer: Debian-Med Packaging Team <debian-med-packaging at lists.alioth.debian.org>
 DM-Upload-Allowed: yes
 Uploaders: Mathieu Malaterre <mathieu.malaterre at gmail.com>
+Priority: extra
 Build-Depends: debhelper (>= 4), cmake, flex
 Standards-Version: 3.8.0
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/pvrg/trunk/?rev=0&sc=0
@@ -12,9 +12,8 @@
 
 Package: pvrg
 Architecture: any
-Section: libs
+Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: PVRG lib
  JPEG implementation from PVRG
  .
  This package contains the shared library.
-Depends: ${shlibs:Depends}

Modified: trunk/packages/pvrg/trunk/debian/rules
===================================================================
--- trunk/packages/pvrg/trunk/debian/rules	2008-12-15 18:30:18 UTC (rev 2794)
+++ trunk/packages/pvrg/trunk/debian/rules	2008-12-15 18:30:21 UTC (rev 2795)
@@ -26,13 +26,17 @@
 	CFLAGS += -O2
 endif
 
+SRC	:= $(CURDIR)
+BUILD	:= $(CURDIR)/debian/build
+TARGET	:= $(CURDIR)/debian/tmp
+
 configure: configure-stamp
 configure-stamp: $(QUILT_STAMPFN)
 	dh_testdir
 	# Add here commands to configure the package.
 	[ -d debian/build ] || mkdir debian/build
 	[ ! -e CMakeCache.txt ] || rm CMakeCache.txt
-	cd debian/build; cmake ../.. -DCMAKE_INSTALL_PREFIX="/usr" \
+	cd debian/build; cmake $(CURDIR) -DCMAKE_INSTALL_PREFIX="/usr" \
 		-DCMAKE_SKIP_RPATH=ON \
 		-DCMAKE_VERBOSE_MAKEFILE=$(DH_VERBOSE) \
 		-DCMAKE_BUILD_TYPE:STRING=Release \
@@ -41,7 +45,7 @@
 	touch configure-stamp
 
 build: build-stamp
-build-stamp: configure-stamp 
+build-stamp: configure-stamp
 	dh_testdir
 
 	# Add here commands to compile the package.
@@ -66,7 +70,7 @@
 	dh_installdirs
 
 	# Add here commands to install the package into debian/tmp
-	$(MAKE) -C debian/build DESTDIR=$(CURDIR)/debian/tmp install
+	$(MAKE) -C debian/build DESTDIR=$(TARGET) install
 
 
 # Build architecture-independent files here.
@@ -80,7 +84,7 @@
 	dh_installchangelogs
 	dh_installdocs
 	dh_installexamples
-	dh_install --list-missing
+	dh_install --sourcedir=$(TARGET) --fail-missing
 	dh_installman
 	dh_link
 	dh_strip




More information about the debian-med-commit mailing list