Package list java3d / 1c03db8
Build with the DH sequencer instead of CDBS Emmanuel Bourg 3 years ago
4 changed file(s) with 17 addition(s) and 19 deletion(s). Raw diff Collapse all Expand all
66 and invalid-short-name-in-dep5-copyright in debian/copyright.
77
88 [ Emmanuel Bourg ]
9 * Build with the DH sequencer instead of CDBS
910 * Moved the package to Git
1011 * Standards-Version updated to 4.1.3
1112 * Switch to debhelper level 11
55 Emmanuel Bourg <ebourg@apache.org>,
66 Torsten Werner <twerner@debian.org>
77 Build-Depends: debhelper (>= 11),
8 cdbs,
98 default-jdk,
109 ant-optional,
1110 libvecmath-java,
11 javahelper,
1212 mesa-common-dev,
1313 libgl1-mesa-dev,
1414 libxext-dev,
0 j3d-core/build/default/opt/lib/ext/j3dcore.jar
1 j3d-core/build/default/opt/lib/ext/j3dutils.jar
22 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
33 export DEB_CFLAGS_MAINT_APPEND = -Wall
44 include /usr/share/dpkg/buildflags.mk
5 include /usr/share/cdbs/1/rules/debhelper.mk
6 include /usr/share/cdbs/1/class/ant.mk
75
8 JAVA_HOME := /usr/lib/jvm/default-java
9 DEB_JARS := ant-nodeps vecmath
10 DEB_ANT_BUILDFILE := j3d-core/build.xml
11 DEB_ANT_CLEAN_TARGET := clean
12 DEB_ANT_BUILD_TARGET := echo jar docs
13 DEB_ANT_ARGS := -Dbuild.type=fcs
6 export CLASSPATH=/usr/share/java/vecmath.jar
147
15 install/libjava3d-java::
16 set -e ; for jar in j3dcore j3dutils ; do \
17 install -m 644 -D j3d-core/build/default/opt/lib/ext/$$jar.jar \
18 debian/libjava3d-java/usr/share/java/$$jar-$(DEB_UPSTREAM_VERSION).jar; \
19 ln -s $$jar-$(DEB_UPSTREAM_VERSION).jar debian/libjava3d-java/usr/share/java/$$jar.jar ; \
20 done
8 %:
9 dh $@ --buildsystem=ant --with javahelper
2110
22 install/libjava3d-jni::
23 install -m 644 -D j3d-core/build/default/opt/native/libj3dcore-ogl.so \
24 debian/libjava3d-jni/usr/lib/jni/libj3dcore-ogl.so
11 override_dh_auto_build:
12 dh_auto_build -- -f j3d-core/build.xml -Dbuild.type=fcs echo jar docs
2513
26 install/libjava3d-java-doc::
14 override_dh_auto_clean:
15 dh_auto_build -- -f j3d-core/build.xml clean
16
17 override_dh_auto_install-indep:
2718 mkdir -p debian/libjava3d-java-doc/usr/share/doc/libjava3d-java-doc
2819 platform=`cd j3d-core; ant echo | grep platform | sed -e 's/.*= //'` ; \
2920 cp -r j3d-core/build/$$platform/javadocs/docs-public \
3021 debian/libjava3d-java-doc/usr/share/doc/libjava3d-java-doc/api
22
23 override_dh_auto_install-arch:
24 install -m 644 -D j3d-core/build/default/opt/native/libj3dcore-ogl.so \
25 debian/libjava3d-jni/usr/lib/jni/libj3dcore-ogl.so
3126
3227 CVS_TAG=rel-$(subst .,_,$(subst +dfsg,,$(DEB_UPSTREAM_VERSION)))-fcs
3328 get-orig-source::