[Pkg-octave-commit] rev 656 - trunk/packages/octave2.1-forge/debian

Thomas Weber thomas-guest at costa.debian.org
Fri Jul 21 16:54:23 UTC 2006


Author: thomas-guest
Date: 2006-07-21 16:54:22 +0000 (Fri, 21 Jul 2006)
New Revision: 656

Added:
   trunk/packages/octave2.1-forge/debian/octave2.1-forge.install
Modified:
   trunk/packages/octave2.1-forge/debian/control
   trunk/packages/octave2.1-forge/debian/rules
Log:
Added octave2.1-forge.install for dh_install call, putting the files of
octave2.1-forge into the right directory

Use DEB_SOURCE_PACKAGE instead of DEB_PACKAGES, because we build two packages

Build octave-forge meta package


Modified: trunk/packages/octave2.1-forge/debian/control
===================================================================
--- trunk/packages/octave2.1-forge/debian/control	2006-07-21 11:23:28 UTC (rev 655)
+++ trunk/packages/octave2.1-forge/debian/control	2006-07-21 16:54:22 UTC (rev 656)
@@ -30,3 +30,19 @@
  .
  This version is compiled for Octave 2.1. If you need it for Octave 2.9,
  install octave2.9-forge.
+
+Package: octave-forge
+Architecture: all
+Depends: octave2.1-forge
+Description: Contributed functions for GNU Octave (2.1 branch)
+ Octave is a (mostly Matlab (R) compatible) high-level language, primarily
+ intended for numerical computations. It provides a convenient command-line
+ interface for solving linear and nonlinear problems numerically.
+ .
+ This package is an empty 'virtual' package whose sole purpose is to
+ install the an octave-forge version compatible to Octave 2.1 (the
+ recommended testing branch) .
+ .
+ Once you have the octave2.1-forge package installed, you can remove this
+ package.
+

Added: trunk/packages/octave2.1-forge/debian/octave2.1-forge.install
===================================================================
--- trunk/packages/octave2.1-forge/debian/octave2.1-forge.install	2006-07-21 11:23:28 UTC (rev 655)
+++ trunk/packages/octave2.1-forge/debian/octave2.1-forge.install	2006-07-21 16:54:22 UTC (rev 656)
@@ -0,0 +1,5 @@
+debian/tmp/usr/bin					usr/
+debian/tmp/usr/lib/octave 				usr/lib/
+debian/tmp/usr/share/man/man1				usr/share/man 
+debian/tmp/usr/share/octave				usr/share/
+debian/tmp/usr/share/octave2.1-forge-alternatives	usr/share

Modified: trunk/packages/octave2.1-forge/debian/rules
===================================================================
--- trunk/packages/octave2.1-forge/debian/rules	2006-07-21 11:23:28 UTC (rev 655)
+++ trunk/packages/octave2.1-forge/debian/rules	2006-07-21 16:54:22 UTC (rev 656)
@@ -9,6 +9,8 @@
 #   - examples and docs
 #   - call dh_shlibdeps ?
 
+# export DH_VERBOSE=1
+
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 include /usr/share/cdbs/1/class/autotools.mk
@@ -17,8 +19,8 @@
 	# defs.make points to the correct defs.make-x.y.z
 	# We ensure the correct version by build-conflicts in control
 
-PACKAGE := $(DEB_PACKAGES)
-	# octave2.1-forge; we only build one binary, so we can use this variable
+PACKAGE := $(DEB_SOURCE_PACKAGE)
+	# octave2.1-forge; 
 major := $(shell echo $(PACKAGE) | grep -o [0-9].[0-9] -)
 	# 2.1 or 2.9
 
@@ -67,8 +69,10 @@
 # calculate correct dependencies and move mex to mex2.1
 install/$(PACKAGE)::
 	octave-depends
-	mv debian/$(PACKAGE)/usr/bin/mex debian/$(PACKAGE)/usr/bin/mex$(major)
-	mv debian/$(PACKAGE)/usr/share/man/man1/mex.1 debian/$(PACKAGE)/usr/share/man/man1/mex$(major).1 
+	mv $(CURDIR)/debian/tmp/usr/bin/mex \
+		$(CURDIR)/debian/tmp/usr/bin/mex$(major)
+	mv $(CURDIR)/debian/tmp/usr/share/man/man1/mex.1 \
+		$(CURDIR)/debian/tmp/usr/share/man/man1/mex$(major).1
 
 # what we don't want in the package
 makebuilddir/$(PACKAGE)::




More information about the Pkg-octave-commit mailing list