Question about packaging a Java-Application(JAR)
adnarim at lavabit.com
Sun Mar 23 11:50:02 GMT 2008
I want to package a JAR-Application which doesn't need to be compiled or things like that. All which has to be done is copying the JAR to /usr/local/share/java and creating a symlink to it in /usr/local/bin . As dependencie we need a java-jre...
But I have a problem with how the rules has to look because dpkg-buildpackage always wants to execute some make and clean rules also if I have non specified in the rules file.
I tried it with such a rules file:
dh_installchangelogs -i ChangeLog.txt
PHONY: binary-indep binary-arch
But I'm always getting an error telling:
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package jap
dpkg-buildpackage: source version 00.09.019-0ubuntu1
dpkg-buildpackage: source changed by adnarim <adnarim at pochta.ru>
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
make: *** No rule to make target `clean'. Stop.
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit
Could someone tell me how to package such an application which runs fine without any compiling and so ?
More information about the Ubuntu-motu-mentors