Commit 3f55cb4c authored by Torsten Werner's avatar Torsten Werner

Switch to cdbs.

parent 54180599
export JAVA_HOME=/usr/lib/jvm/default-java
cup.jar:
mkdir -p classes
${JAVA_HOME}/bin/javac -d classes java_cup/*.java java_cup/*/*.java
${JAVA_HOME}/bin/jar mcvf debian/manifest cup.jar -C classes java_cup
clean:
rm -fr cup.jar classes/*
......@@ -6,8 +6,9 @@ cup (0.11a+20060608-1) UNRELEASED; urgency=low
[ Torsten Werner ]
* new upstream version (Closes: #497588)
* Add target get-orig-source to debian/rules.
* Switch to cdbs.
-- Torsten Werner <twerner@debian.org> Thu, 16 Oct 2008 22:52:36 +0200
-- Torsten Werner <twerner@debian.org> Thu, 16 Oct 2008 23:13:56 +0200
cup (0.10k-7) unstable; urgency=low
......
......@@ -2,8 +2,10 @@ Source: cup
Section: devel
Priority: optional
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Uploaders: Arnaud Vandyck <avdyk@debian.org>, Michael Koch <konqueror@gmx.de>
Build-Depends: debhelper (>= 4.2.30), default-jdk
Uploaders: Arnaud Vandyck <avdyk@debian.org>, Michael Koch <konqueror@gmx.de>,
Torsten Werner <twerner@debian.org>
Build-Depends: cdbs, debhelper (>= 4.2.30), default-jdk, cup (>= 0.11a),
jflex, quilt
Standards-Version: 3.7.3
Vcs-Svn: svn://svn.debian.org/svn/pkg-java/trunk/cup
Vcs-Browser: http://svn.debian.org/wsvn/pkg-java/trunk/cup
......
usr/share/java/cup-0.10k.jar usr/share/java/cup.jar
/usr/share/java/cup-0.11a.jar /usr/share/java/cup.jar
Manifest-Version: 1.0
Main-Class: java_cup/Main
Index: cup-0.11a+20060608/build.xml
===================================================================
--- cup-0.11a+20060608.orig/build.xml 2008-10-16 23:00:40.000000000 +0200
+++ cup-0.11a+20060608/build.xml 2008-10-16 23:00:51.000000000 +0200
@@ -53,7 +53,7 @@
<target name="compile" depends="jflex">
<copy todir="${java}"><fileset dir="${src}"></fileset></copy>
- <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" debug="on" source="1.2" target="1.2">
+ <javac srcdir="${java}" destdir="${classes}" verbose="off" listfiles="off" debug="on" source="1.3" target="1.3">
<classpath refid="libraries"/>
</javac>
</target>
#!/usr/bin/make -f
LIBRARY=cup
VERSION=0.10k
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/ant.mk
include /usr/share/cdbs/1/rules/patchsys-quilt.mk
build:
dh_testdir
make -f debian/Makefile
touch build
JAVA_HOME := /usr/lib/jvm/default-java
DEB_JARS := cup JFlex
install:
dh_testdir
dh_clean
dh_installdirs usr/share/java usr/bin
install -m644 ${LIBRARY}.jar debian/cup/usr/share/java/${LIBRARY}-${VERSION}.jar
install -m755 debian/cup.sh debian/cup/usr/bin/cup
clean:
dh_testdir
dh_testroot
dh_clean
make -f debian/Makefile clean
rm -f build
binary-indep: build install
dh_testdir
dh_testroot
dh_installdocs manual.html cup_logo.gif
dh_installchangelogs CHANGELOG
dh_installman debian/cup.1
dh_link
dh_fixperms
dh_compress
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
binary-arch:
binary: binary-arch binary-indep
.PHONY: binary binary-arch binary-indep clean
install/cup::
install -D dist/java-cup-11a.jar $(DEB_DESTDIR)/usr/share/java/cup-0.11a.jar
get-orig-source:
wget -o cup_0.11a+20060608.orig.tar.gz \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment