[jasmin-sable] 01/78: Initial import of 1.2-2 (missing diffs in .diff.gz)
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Tue Feb 10 23:34:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository jasmin-sable.
commit 6558ace9a444024aab9528a685b6e2b15f257023
Author: Chris Lamb <chris at chris-lamb.co.uk>
Date: Fri Feb 8 08:26:07 2008 +0000
Initial import of 1.2-2 (missing diffs in .diff.gz)
Signed-off-by: Chris Lamb <chris at chris-lamb.co.uk>
---
debian/Makefile-jasmin | 37 ++++++++++++++++++++++
debian/changelog | 13 ++++++++
debian/compat | 1 +
debian/control | 15 +++++++++
debian/copyright | 25 +++++++++++++++
debian/dirs | 2 ++
debian/jasmin.1 | 51 ++++++++++++++++++++++++++++++
debian/rules | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++
8 files changed, 230 insertions(+)
diff --git a/debian/Makefile-jasmin b/debian/Makefile-jasmin
new file mode 100644
index 0000000..4ddaa8c
--- /dev/null
+++ b/debian/Makefile-jasmin
@@ -0,0 +1,37 @@
+# Helper makefile by Grzegorz B. Prokopski <gadek at debian.org>
+# Written for Debian package, available under FSF's LGPL conditions
+
+all: compile
+
+
+clean:
+ rm -f ./compile-stamp ./jasmin-sable.jar
+ find ./classes -name \*.class |xargs rm -f
+ find ./lib/cup/classes -name \*.class |xargs rm -f
+ find ./lib/jas/classes -name \*.class |xargs rm -f
+ find ./lib/jas/src/scm -name \*.class |xargs rm -f
+ rm -f ./src/jasmin/parser.java ./src/jasmin/sym.java
+
+compile: compile-stamp
+
+compile-stamp:
+ ./bin/compile_all.sh
+ fastjar -c -f ./jasmin-sable.jar -C classes .
+ touch ./compile-stamp
+
+install: compile-stamp
+ @(if [ "X$$PREFIX" == "X" ]; then \
+ echo 'use something like: make install PREFIX=/usr/local [ DEST=/tmp/usr ]'; \
+ else \
+ if [ "X$$DEST" == "X" ]; then DEST=$$PREFIX; fi; \
+ echo installing jasmin for $PREFIX in $$DEST : bin/jasmin, share/java/jasmin-sable.jar ;\
+ set -e; \
+ mkdir -p $$DEST/share/java $$DEST/bin $$DEST/share/doc/jasmin-sable/examples; \
+ cp ./examples/* $$DEST/share/doc/jasmin-sable/examples; \
+ cp -f ./jasmin-sable.jar $$DEST/share/java/jasmin-sable.jar; \
+ echo '#! /bin/sh' >$$DEST/bin/jasmin; \
+ echo -n "exec java -cp $$PREFIX/share/java/jasmin-sable.jar jasmin.Main " >>$$DEST/bin/jasmin; \
+ echo '$$*' >>$$DEST/bin/jasmin; \
+ chmod +x $$DEST/bin/jasmin; \
+ echo "jasmin is now installed no your system"; \
+ fi)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9a80667
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,13 @@
+jasmin-sable (1.2-2) unstable; urgency=low
+
+ * Larning to read bugreports with comprehension. Added 'fastjar' to
+ Build-deps. Closes: #232987
+
+ -- Grzegorz Prokopski (Debian Developer) <gadek at debian.org> Sat, 3 Apr 2004 20:15:16 -0500
+
+jasmin-sable (1.2-1) unstable; urgency=low
+
+ * Initial Release. Lintian clean. Closes: #228843.
+
+ -- Grzegorz Prokopski (Debian Developer) <gadek at debian.org> Wed, 21 Jan 2004 03:33:28 -0500
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..f485725
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,15 @@
+Source: jasmin-sable
+Section: devel
+Priority: optional
+Maintainer: Grzegorz Prokopski (Debian Developer) <gadek at debian.org>
+Build-Depends: debhelper (>= 4.0.0), fastjar, sablevm | java-virtual-machine, jikes-sablevm | java-compiler
+Standards-Version: 3.6.0
+
+Package: jasmin-sable
+Architecture: all
+Depends: sablevm | java-virtual-machine
+Description: java assembler compiler
+ Jasmin is a Java ASseMbler INterface. It takes ASCII descriptions for Java
+ classes, written in a simple assembler-like syntax and using the Java Virtual
+ Machine instruction set. It converts them into binary Java class files
+ suitable for loading into a JVM implementation.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..2b26524
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Grzegorz Prokopski (Debian Developer) <gadek at debian.org> on
+Wed, 21 Jan 2004 03:33:28 -0500.
+
+It was downloaded from http://www.sable.mcgill.ca/software/#soot
+
+Upstream Author: Jonathan Meyer
+
+Copyright:
+
+ This package is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public
+ License as published by the Free Software Foundation; version 2
+ of the License.
+
+ This package is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL2'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..e4bc73a
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/java
diff --git a/debian/jasmin.1 b/debian/jasmin.1
new file mode 100644
index 0000000..de68d6a
--- /dev/null
+++ b/debian/jasmin.1
@@ -0,0 +1,51 @@
+.\" Hey, EMACS: -*- nroff -*-
+.\" First parameter, NAME, should be all caps
+.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection
+.\" other parameters are allowed: see man(7), man(1)
+.TH JASMIN-SABLE 1 "stycze� 21, 2004"
+.\" Please adjust this date whenever revising the manpage.
+.\"
+.\" Some roff macros, for reference:
+.\" .nh disable hyphenation
+.\" .hy enable hyphenation
+.\" .ad l left justify
+.\" .ad b justify to both left and right margins
+.\" .nf disable filling
+.\" .fi enable filling
+.\" .br insert line break
+.\" .sp <n> insert n+1 empty lines
+.\" for manpage-specific macros, see man(7)
+.SH NAME
+jasmin \- java assembler compiler
+.SH SYNOPSIS
+.B jasmin
+.RI jasmin
+[-d <directory>] [-version] <file> [<file> ...]
+.SH DESCRIPTION
+This manual page documents briefly the jasmin
+.B jasmin
+- java assembler compiler parameters.
+
+This manual page was written for the Debian distribution
+because the original program does not have a manual page.
+\fBjasmin\fP is a Java ASseMbler INterface. It takes ASCII descriptions
+for Java classes, written in a simple assembler-like syntax and using the
+Java Virtual Machine instruction set. It converts them into binary Java
+class files suitable for loading into a JVM implementation.
+.SH OPTIONS
+.TP
+.B \-d <directory>
+Destination directory where the resulting files are to be places.
+.TP
+.B \-version
+Show version of program.
+.TP
+.B <file> ...
+Source .j (jasmin java assembler format) file(s) to be compiled.
+.SH SEE ALSO
+The /usr/share/doc/jasmin-sable/examples directory should contain some example
+assembly files.
+.SH AUTHOR
+This manual page was written by Grzegorz Prokopski (Debian Developer) <gadek at debian.org>,
+for the Debian project (but may be used by others). It is available under
+GNU Lesser General Public License.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..78fa574
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,86 @@
+#!/usr/bin/make -f
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
+ INSTALL_PROGRAM += -s
+endif
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp
+ dh_testdir
+ $(MAKE)
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+
+ cp -f ./debian/Makefile-jasmin ./Makefile
+
+ -$(MAKE) clean
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ $(MAKE) install PREFIX=/usr DEST=$(CURDIR)/debian/jasmin-sable/usr
+
+# Build architecture-dependent files here.
+binary-arch:
+## build install
+
+# Build architecture-independent files here.
+binary-indep: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs
+ dh_installdocs
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman ./debian/jasmin.1
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+# dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jasmin-sable.git
More information about the pkg-java-commits
mailing list