From fb7fcbfa5a4e4768599b90abc50f48c535e9e4fe Mon Sep 17 00:00:00 2001 From: Bdale Garbee Date: Tue, 18 May 2010 13:24:30 -0600 Subject: [PATCH] add ant stuff --- debian/control | 4 ++-- debian/rules | 13 +++++++++++++ 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/debian/control b/debian/control index f3a2c9c..793cfb1 100644 --- a/debian/control +++ b/debian/control @@ -1,7 +1,7 @@ Source: freetts Priority: optional Maintainer: Bdale Garbee -Build-Depends: debhelper (>= 7), default-jdk +Build-Depends: debhelper (>= 7), default-jdk, ant, ant-optional, junit4 Standards-Version: 3.8.4 Section: java Vcs-Git: git://git.gag.com/debian/freetts @@ -11,7 +11,7 @@ Homepage: http://freetts.sourceforge.net Package: freetts Section: java Architecture: all -Depends: default-jre | java2-runtime, ${misc:Depends} +Depends: default-jre | java2-runtime, ${shlibs:Depends}, ${misc:Depends} Description: speech synthesis system FreeTTS is a speech synthesis system written entirely in the Java(TM) programming language. It is based upon Flite, a small run-time speech diff --git a/debian/rules b/debian/rules index 917d9bf..12e9e6b 100755 --- a/debian/rules +++ b/debian/rules @@ -11,3 +11,16 @@ %: dh $@ + +override_dh_auto_build: + ant deploy_bin + +#override_dh_auto_install: +# cp build/jar/* `pwd`/debian/openrocket/usr/share/java/ +# printf '#!/bin/sh\njava -jar /usr/share/java/%s\n' \ +# "`/bin/ls build/jar`" > \ +# `pwd`/debian/openrocket/usr/bin/openrocket + +#override_dh_installman: +# dh_installman debian/openrocket.1 + -- 2.30.2