Author: rafl
Date: Thu Nov  3 09:44:16 2005
New Revision: 9753

Added:
   trunk/debian/control.in
Removed:
   trunk/debian/control
Modified:
   /   (props changed)
   trunk/debian/changelog
   trunk/debian/rules
Log:
 [EMAIL PROTECTED]:  rafl | 2005-11-03 18:43:58 +0100
 * Autogenerate debian/control with the latest SOVERSION when needed.


Modified: trunk/debian/changelog
==============================================================================
--- trunk/debian/changelog      (original)
+++ trunk/debian/changelog      Thu Nov  3 09:44:16 2005
@@ -1,4 +1,4 @@
-parrot (0.3.0-1) unstable; urgency=low
+parrot (0.3.1-1) unstable; urgency=low
 
   * Initial release (Closes: #297902).
 

Added: trunk/debian/control.in
==============================================================================
--- (empty file)
+++ trunk/debian/control.in     Thu Nov  3 09:44:16 2005
@@ -0,0 +1,54 @@
+Source: parrot
+Section: interpreters
+Priority: optional
+Maintainer: Florian Ragwitz <[EMAIL PROTECTED]>
+Build-Depends: debhelper (>= 4.0.0), perl, perl-doc, libgmp3-dev, libgdbm-dev, 
python, bc, m4, libicu34-dev
+Standards-Version: 3.6.2
+
+Package: parrot
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: parrot-doc
+Recommends: perl
+Description: virtual machine to execute bytecode for interpreted languages
+ Parrot is a virtual machine designed to execute bytecode for interpreted
+ languages efficiently. Parrot will be the target for the Perl 6 compiler.
+ There is already a partial Perl 6 compiler as well as compilers in various
+ stages of completion for a wide range of other languages.
+
+Package: libparrot%SOVERSION%
+Architecture: any
+Section: libs
+Depends: ${shlibs:Depends}
+Description: virtual machine to execute bytecode for interpreted languages
+ Parrot is a virtual machine designed to execute bytecode for interpreted
+ languages efficiently. Parrot will be the target for the Perl 6 compiler.
+ There is already a partial Perl 6 compiler as well as compilers in various
+ stages of completion for a wide range of other languages.
+ .
+ This package contains the parrot shared library.
+ 
+Package: libparrot%SOVERSION%-dev
+Architecture: all
+Section: libdevel
+Depends: libparrot%SOVERSION% (= ${Source-Version})
+Provides: libparrot-dev
+Conflicts: libparrot-dev
+Description: virtual machine to execute bytecode for interpreted languages
+ Parrot is a virtual machine designed to execute bytecode for interpreted
+ languages efficiently. Parrot will be the target for the Perl 6 compiler.
+ There is already a partial Perl 6 compiler as well as compilers in various
+ stages of completion for a wide range of other languages.
+ .
+ This package contains files needed to develop applications which embed Parrot.
+
+Package: parrot-doc
+Architecture: all
+Suggests: perl-doc
+Description: virtual machine to execute bytecode for interpreted languages
+ Parrot is a virtual machine designed to execute bytecode for interpreted
+ languages efficiently. Parrot will be the target for the Perl 6 compiler.
+ There is already a partial Perl 6 compiler as well as compilers in various
+ stages of completion for a wide range of other languages.
+ .
+ This package contains various documentation for parrot.

Modified: trunk/debian/rules
==============================================================================
--- trunk/debian/rules  (original)
+++ trunk/debian/rules  Thu Nov  3 09:44:16 2005
@@ -2,7 +2,7 @@
 
 CFLAGS = -Wall -g
 VERSION = 0.3.0
-SOVERSION = 0.3.0
+SOVERSION = 0.3.1
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
        CFLAGS += -O0
@@ -10,7 +10,10 @@ else
        CFLAGS += -O2
 endif
 
-configure: configure-stamp
+debian/control:
+       perl -p -e 's/%SOVERSION%/$(SOVERSION)/g' debian/control.in > 
debian/control
+
+configure: debian/control configure-stamp
 configure-stamp:
        dh_testdir
        perl Configure.pl --prefix=/usr

Reply via email to