Package list lwjgl / 3e4a4c9
Filter the upstream tarball with the Files-Excluded field in d/copyright Emmanuel Bourg 2 years ago
4 changed file(s) with 7 addition(s) and 22 deletion(s). Raw diff Collapse all Expand all
11
22 * Team upload.
33 * Simplified the OS X and ASM patches
4 * Filter the upstream tarball with the Files-Excluded field in d/copyright
45 * Standards-Version updated to 4.2.1
56 * Use salsa.debian.org Vcs-* URLs
67
00 Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0
11 Upstream-Name: lwjgl - Lightweight Java Game Library
22 Upstream-Contact: LWJGL developers <info@lwjgl.org>
3 Files-Excluded: *.class
4 *.jar
5 src/generated/*
6 src/native/generated/*
37
48 Files: *
59 Copyright: 2002-2015, Lightweight Java Game Library Project
00 #!/usr/bin/make -f
1
2 NAME := $(shell dpkg-parsechangelog| sed -n '/^Source/{s/Source: \(.*\)/\1/p}')
3 VERSION := $(shell dpkg-parsechangelog| sed -n '/^Version/{s/Version: \(.*\)-[0-9]*$$/\1/;s/+dfsg//p}')
4 TMPDIR := $(NAME)-$(VERSION)
5 TAR := ../$(NAME)_$(VERSION).orig.tar.gz
6 TARDFSG := ../$(NAME)_$(VERSION)+dfsg.orig.tar.gz
71
82 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
93 export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-$(DEB_HOST_ARCH)
2519 ant javadoc
2620
2721 override_dh_auto_install:
28 jh_installjavadoc -plib$(NAME)-java-doc doc/javadoc
22 jh_installjavadoc -pliblwjgl-java-doc doc/javadoc
2923
3024 override_dh_auto_clean:
3125 find src/native/ -name '*org_lwjgl_*.h' -delete
3226 rm -rf src/native/generated src/generated doc bin libs dist res temp
3327 jh_clean
34
35 get-orig-source:
36 rm -f $(TAR)
37 uscan --verbose --download-version $(VERSION) \
38 --force-download --repack --no-symlink --rename
39 mkdir $(TMPDIR) && tar -C $(TMPDIR) -zxf $(TAR) && rm $(TAR)
40 cd $(TMPDIR) && find . -type f -exec fromdos {} \;
41 echo "The following files will not be included in Debian tarball:"
42 cd $(TMPDIR) && find . \( -name '*.class' -o -name '*.jar' \
43 -o -path './src/generated/*' -o -path './src/native/generated/*' \) \
44 -print -delete
45 ZIP=--best tar --exclude-vcs --exclude src/generated \
46 --exclude src/native/generated -zcf $(TARDFSG) $(TMPDIR)
47 rm -rf $(TMPDIR)
00 version=4
1 opts="dversionmangle=s/\+dfsg//" \
1 opts="repack,compression=xz,dversionmangle=s/\+dfsg//" \
22 http://sf.net/java-game-lib/lwjgl-source-(\d.*).zip