fixed inclusion of scala-dbc.jar in the built package

git-svn-id: http://lampsvn.epfl.ch/svn-repos/scala/scala/trunk@9147 5e8d7ff9-d8ef-0310-90f0-a4852d11357a
This commit is contained in:
spoon 2006-11-03 18:41:41 +00:00
parent 93c37064d1
commit a5e043f4d0
5 changed files with 19 additions and 22 deletions

19
debian/control vendored
View File

@ -3,11 +3,11 @@ Section: devel
Priority: optional
Maintainer: Lex Spoon <lex@debian.org>
Standards-Version: 3.7.2
Build-Depends: java-compiler, ant, debhelper (>= 5)
Build-Depends: gcj | java-compiler, ant, debhelper (>= 5)
Package: scala
Architecture: all
Depends: scala-library, scala-dev
Depends: scala-library, gij | java-virtual-machine
Recommends: sbaz
Description: The Scala programming language
Scala is a Java-compatible programming language with many
@ -17,8 +17,10 @@ Description: The Scala programming language
includes modern language features such as closures,
pattern-matching, parametric types, and virtual type members.
.
This package depends on all of the basic packages a typical
Scala enthusiast would want.
This package includes the various tools used to develop
code written in Scala. It includes a compiler (scalac),
a convenient command-runner (scala), an interpreter
(scalaint), and a source-scanning documentation generator (scaladoc).
Package: scala-library
@ -26,12 +28,3 @@ Architecture: all
Depends: gij | java-virtual-machine
Description: The Scala standard library
The Scala standard library. This is needed to run Scala programs.
Package: scala-dev
Architecture: all
Depends: scala-library, java-virtual-machine
Description: The Scala development tools
This package includes the various tools used to develop
code written in Scala. It includes a compiler (scalac),
a convenient command-runner (scala), an interpreter
(scalaint), and a source-scanning documentation generator (scaladoc).

11
debian/rules vendored
View File

@ -21,14 +21,15 @@ install: build
dh_clean -k
dh_installdirs -A
install simpbuild/lib/scala-library.jar $(CURDIR)/debian/scala-library/usr/share/java/
install simpbuild/lib/scala-dbc.jar $(CURDIR)/debian/scala-library/usr/share/java/
install -m644 simpbuild/lib/scala-library.jar $(CURDIR)/debian/scala-library/usr/share/java/
install -m644 simpbuild/lib/scala-dbc.jar $(CURDIR)/debian/scala-library/usr/share/java/
install -m644 simpbuild/lib/scala-actors.jar $(CURDIR)/debian/scala-library/usr/share/java/
install simpbuild/lib/scala-compiler.jar $(CURDIR)/debian/scala-dev/usr/share/java/
install debian/command-scripts/* $(CURDIR)/debian/scala-dev/usr/bin/
install -m644 simpbuild/lib/scala-compiler.jar $(CURDIR)/debian/scala/usr/share/java/
install -m755 debian/command-scripts/* $(CURDIR)/debian/scala/usr/bin/
dh_installdocs -A
dh_installman -pscala-dev docs/man/*/*.1
dh_installman -pscala simpbuild/manual/man1/*.1
dh_installchangelogs -A
dh_compress -A
dh_fixperms -A

View File

@ -1,2 +1 @@
usr/bin
usr/share/java

2
debian/scala.dirs vendored Normal file
View File

@ -0,0 +1,2 @@
usr/bin
usr/share/java

View File

@ -31,13 +31,15 @@
<!-- Location of pre-compiled libraries -->
<!--
<property name="starr.lib.jar" value="${lib.dir}/scala-library.jar"/>
<property name="starr.comp.jar" value="${lib.dir}/scala-compiler.jar"/>
-->
<property name="scala.home" value="${user.home}/sbaz"/>
<!--
<property name="starr.lib.jar" value="${scala.home}/lib/scala-library.jar"/>
<property name="starr.comp.jar" value="${scala.home}/lib/scala-compiler.jar"/>
-->
<property name="fjbg.jar" value="${lib.dir}/fjbg.jar"/>
<property name="ant.jar" value="/usr/share/java/ant.jar"/>
@ -450,7 +452,7 @@
link="${sbaz.universe}/${sbaz.lib.name}-${version.number}.sbp"
>
<libset dir="${build.jar.dir}" includes="${lib.jar.name}"/>
<libset dir="${build.jar.dir}" includes="${dbc.jar.name}"/>
<libset dir="${build.jar.dir}" includes="${lib-dbc.jar.name}"/>
<libset dir="${build.jar.dir}" includes="${actors.jar.name}"/>
<srcset dir="${build.jar.dir}" includes="${libsrc.jar.name}"/>
<srcset dir="${build.jar.dir}" includes="${dbcsrc.jar.name}"/>