Skip to content
GitLab
Explore
Sign in
Register
Commits on Source
5
Adding an ITP bug number.
· be5f098a
Andrius Merkys
authored
Aug 12, 2019
be5f098a
Building and installing javadoc documentation.
· cd7daf30
Andrius Merkys
authored
Aug 12, 2019
cd7daf30
Folding overlong lines in long description.
· 6233ad7e
Andrius Merkys
authored
Aug 12, 2019
6233ad7e
Linking jquery files over embedded ones.
· dbb6d090
Andrius Merkys
authored
Aug 12, 2019
dbb6d090
Determining JAR file name from upstream version.
· 3a4319c7
Andrius Merkys
authored
Aug 12, 2019
3a4319c7
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
3a4319c7
jep (2.4.1+ds-1) unstable; urgency=low
* Initial release. (Closes: #
XXXXXX
)
* Initial release. (Closes: #
934544
)
-- Andrius Merkys <merkys@debian.org> Mon, 12 Aug 2019 02:36:58 -0400
debian/control
View file @
3a4319c7
...
...
@@ -23,23 +23,27 @@ Depends:
Recommends:
${java:Recommends},
Description: Java Expression Parser
Jep Java parses and evaluates mathematical expressions with only a few lines
of
code. This package allows your users to enter a formula as a string, and
Jep Java parses and evaluates mathematical expressions with only a few lines
of
code. This package allows your users to enter a formula as a string, and
instantly evaluate it. Jep supports user defined variables, constants, and
functions. A number of common mathematical functions and constants are included.
functions. A number of common mathematical functions and constants are
included.
Package: libjep-java-doc
Architecture: all
Section: doc
Depends:
libjs-jquery,
libjs-jquery-ui,
${java:Depends},
${misc:Depends},
Recommends:
${java:Recommends},
Description: Java Expression Parser - documentation
Jep Java parses and evaluates mathematical expressions with only a few lines
of
code. This package allows your users to enter a formula as a string, and
Jep Java parses and evaluates mathematical expressions with only a few lines
of
code. This package allows your users to enter a formula as a string, and
instantly evaluate it. Jep supports user defined variables, constants, and
functions. A number of common mathematical functions and constants are included.
functions. A number of common mathematical functions and constants are
included.
.
This package contains the Javadoc API
debian/libjep-java-doc.javadoc
View file @
3a4319c7
<
javadoc
build dir here>
doc/
javadoc
debian/rules
View file @
3a4319c7
#!/usr/bin/make -f
include /usr/share/dpkg/pkg-info.mk
export JAVA_HOME=/usr/lib/jvm/default-java
export JAVACCHOME=/usr/share/java
# Put depended upon jars in here
export CLASSPATH=/usr/share/java/jama.jar
UPSTREAM_VER := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d + -f 1)
JQUERY_DIR = $(CURDIR)/debian/libjep-java-doc/usr/share/doc/libjep-java-doc/api/jquery
%:
dh $@ --with javahelper
override_dh_auto_build:
dh_auto_build -- jar
dh_auto_build -- jar
javadoc
override_jh_installlibs:
jh_installlibs dist/jep-2.4.1.jar
jh_installlibs dist/jep-$(UPSTREAM_VER).jar
override_dh_installdocs:
dh_installdocs
ln -fs /usr/share/javascript/jquery/jquery.js ${JQUERY_DIR}/external/jquery/jquery.js
ln -fs /usr/share/javascript/jquery/jquery.js ${JQUERY_DIR}/jquery-3*.js
ln -fs /usr/share/javascript/jquery-ui/themes/base/jquery-ui.css ${JQUERY_DIR}/jquery-ui.css
ln -fs /usr/share/javascript/jquery-ui/jquery-ui.js ${JQUERY_DIR}/jquery-ui.js
ln -fs /usr/share/javascript/jquery-ui/themes/base/jquery-ui.min.css ${JQUERY_DIR}/jquery-ui.min.css
ln -fs /usr/share/javascript/jquery-ui/jquery-ui.min.js ${JQUERY_DIR}/jquery-ui.min.js
override_dh_clean:
rm -rf doc/javadoc
dh_clean