Commit d66aee0c authored by kevinrosenberg's avatar kevinrosenberg

Initial debian package

parent e0900e9f
Installing f2cl into your CL implementation that uses
Debian's Common Lisp Controller is easy. Just enter
(require 'f2cl)
and a precompiled version of f2cl should be loaded.
cl-f2cl (1.0+cvs.2002.11.11) unstable; urgency=low
* Initial Debian upload.
-- Kevin M. Rosenberg <kmr@debian.org> Fri, 8 Nov 2002 09:46:00 -0700
Source: cl-f2cl
Section: devel
Priority: optional
Maintainer: Kevin M. Rosenberg <kmr@debian.org>
Build-Depends-Indep: debhelper (>= 4.0.0)
Standards-Version: 3.5.7.1
Package: cl-f2cl
Architecture: all
Depends: ${shlibs:Depends}, common-lisp-controller (>= 3.37)
Description: Common Lisp package to convert Fortran 77 source code to Common Lisp
This package performs automated conversion of Fortran 77 source code into Common Lisp
source code.
This package was debianized by Kevin M. Rosenberg <kmr@debian.org> in
Nov 2002.
It was downloaded from http://www.sourceforge.net/projects/clocc
Upstream Authors: Kevin Broughan, Diane Koorey Willcock, Raymond Toy
Changes compared to upstream:
- Added .asd file
Copyright (c) 1992-1995 by Kevin Broughan and Diane Koorey Willcock
Copyright (c) 2000-2002 by Raymond Toy
This code is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation. The exception is macros.l which is released
under the LGPL so that it can be incorporated into other packages.
The GNU General Public License is located in the file
/usr/share/common-licenses/GPL and the GNU Lessor General Public
License can be found in your Debian file system in
/usr/share/common-licenses/LGPL.
;;; -*- Mode: lisp -*-
(in-package :asdf)
(defsystem :f2cl
:components
((:file "f2cl0")
(:file "f2cl1" :depends-on ("f2cl0"))
(:file "f2cl2" :depends-on ("f2cl1"))
(:file "f2cl3" :depends-on ("f2cl2"))
(:file "f2cl4" :depends-on ("f2cl3"))
(:file "f2cl5" :depends-on ("f2cl4"))
(:file "f2cl6" :depends-on ("f2cl5"))
(:file "f2cl7" :depends-on ("f2cl6"))
(:file "f2cl8" :depends-on ("f2cl7"))
(:file "macros" :depends-on ("f2cl8"))))
(defmethod source-file-type ((c cl-source-file) (s (eql (find-system :f2cl))))
"l")
#! /bin/sh
# postinst script for cl-f2cl
#
# see: dh_installdeb(1)
set -e
# package name according to lisp
LISP_PKG=f2cl
# summary of how this script can be called:
# * <postinst> `configure' <most-recently-configured-version>
# * <old-postinst> `abort-upgrade' <new version>
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
# <new-version>
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
# <failed-install-package> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
#
# quoting from the policy:
# Any necessary prompting should almost always be confined to the
# post-installation script, and should be protected with a conditional
# so that unnecessary prompting doesn't happen if a package's
# installation fails and the `postinst' is called with `abort-upgrade',
# `abort-remove' or `abort-deconfigure'.
case "$1" in
configure)
/usr/sbin/register-common-lisp-source ${LISP_PKG}
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#! /bin/sh
# prerm script for cl-f2cl
#
# see: dh_installdeb(1)
set -e
# package name according to lisp
LISP_PKG=f2cl
# summary of how this script can be called:
# * <prerm> `remove'
# * <old-prerm> `upgrade' <new-version>
# * <new-prerm> `failed-upgrade' <old-version>
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
# * <deconfigured's-prerm> `deconfigure' `in-favour'
# <package-being-installed> <version> `removing'
# <conflicting-package> <version>
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
remove|upgrade|deconfigure)
/usr/sbin/unregister-common-lisp-source ${LISP_PKG}
;;
failed-upgrade)
;;
*)
echo "prerm called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
#!/usr/bin/make -f
export DH_COMPAT=4
pkg := f2cl
debpkg := cl-f2cl
clc-source := usr/share/common-lisp/source
clc-systems := usr/share/common-lisp/systems
clc-f2cl := $(clc-source)/$(pkg)
doc-dir := usr/share/doc/$(debpkg)
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
# Add here commands to compile the package.
touch build-stamp
clean:
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
rm -f debian/cl-f2cl.postinst.* debian/cl-f2cl.prerm.*
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
# Add here commands to install the package into debian/f2cl.
dh_installdirs $(clc-systems) $(clc-f2cl)
dh_install debian/f2cl.asd $(wildcard src/*) $(clc-f2cl)
dh_link $(clc-f2cl)/f2cl.asd $(clc-systems)/f2cl.asd
# Build architecture-independent files here.
binary-indep: build install
# Build architecture-dependent files here.
binary-arch: build install
dh_testdir
dh_testroot
dh_installdocs README debian/README.Debian $(wildcard doc/*)
dh_installexamples $(wildcard val/*)
dh_installchangelogs
dh_strip
dh_compress
dh_fixperms
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment