[Pkg-scicomp-devel] paraview/trunk/debian
Christophe Prud'homme
prudhomm at debian.org
Fri Feb 8 07:56:53 UTC 2008
SVN commit 2093 by prudhomm:
use cdbs, ffmpeg, openmpi
M +1 -1 paraview/trunk/debian/control
M +11 -79 paraview/trunk/debian/rules
--- paraview/trunk/debian/control #2092:2093
@@ -3,7 +3,7 @@
Priority: extra
Maintainer: Debian Scientific Computing Team <pkg-scicomp-devel at lists.alioth.debian.org>
Uploaders: Christophe Prud'homme <prudhomm at debian.org>, Ondrej Certik <ondrej at certik.cz>
-Build-Depends: debhelper (>= 5), autotools-dev, quilt (>= 0.46-4), cmake (>= 2.4.8-1), libqt4-dev (>= 4.3.3-2)
+Build-Depends: cdbs (>= 0.4.51), debhelper (>= 5), autotools-dev, quilt (>= 0.46-4), cmake (>= 2.4.8-1), libqt4-dev (>= 4.3.3-2), libopenmpi-dev, python2.5, ffmpeg, libavformat-dev, libavutil-dev, libavcodec-dev
Standards-Version: 3.7.2
XS-DM-Upload-Allowed: yes
Homepage: http://www.paraview.org/
--- paraview/trunk/debian/rules #2092:2093
@@ -9,90 +9,22 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+DEB_COMPRESS_EXCLUDE := .pdf
-configure: configure-stamp
-configure-stamp:
- dh_testdir
- # Add here commands to configure the package.
-
- QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2
+include /usr/share/cdbs/1/class/cmake.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/patchsys-quilt.mk
- mkdir para
- cd para; cmake -D CMAKE_INSTALL_PREFIX:PATH=$(CURDIR)/debian/paraview/usr/ ..
- touch configure-stamp
+DEB_CMAKE_EXTRA_FLAGS= \
+ -DCMAKE_VERBOSE_MAKEFILE=OFF \
+ -DBUILD_SHARED_LIBS=OFF \
+ -DPARAVIEW_ENABLE_PYTHON=ON \
+ -DPARAVIEW_USE_MPI=ON \
+ -DVTK_USE_BOOST=OFF \
+ -DVTK_USE_FFMPEG_ENCODER=OFF
-
-build: build-stamp
-
-build-stamp: configure-stamp
- dh_testdir
-
- # Add here commands to compile the package.
- cd para; $(MAKE)
-
- touch $@
-
-clean:
- dh_testdir
- dh_testroot
- rm -f build-stamp configure-stamp
- rm -rf para
-
- # Add here commands to clean up after the build process.
-
- QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2
- dh_clean
-
-install: build
- dh_testdir
- dh_testroot
- dh_clean -k
- dh_installdirs
-
- # Add here commands to install the package into debian/paraview.
- cd para;$(MAKE) install
-
-
-# Build architecture-independent files here.
-binary-indep: build install
-# We have nothing to do by default.
-
-# Build architecture-dependent files here.
-binary-arch: build install
- dh_testdir
- dh_testroot
- dh_installchangelogs
- dh_installdocs
- dh_installexamples
-# dh_install
-# dh_installmenu
-# dh_installdebconf
-# dh_installlogrotate
-# dh_installemacsen
-# dh_installpam
-# dh_installmime
-# dh_python
-# dh_installinit
-# dh_installcron
-# dh_installinfo
- dh_installman
- dh_link
- dh_strip
- dh_compress
- dh_fixperms
-# dh_perl
-# dh_makeshlibs
- dh_installdeb
- dh_shlibdeps
- dh_gencontrol
- dh_md5sums
- dh_builddeb
-
-binary: binary-indep binary-arch
-.PHONY: build clean binary-indep binary-arch binary install configure
-
orig-tarball:
wget http://www.paraview.org/files/v3.2/paraview-3.2.1.tar.gz
mv paraview-3.2.1.tar.gz paraview_3.2.1.orig.tar.gz
More information about the Pkg-scicomp-devel
mailing list