From: Kevin M. Rosenberg Date: Sun, 28 Apr 2002 03:36:03 +0000 (+0000) Subject: r1809: initial cvs import X-Git-Tag: v1.6.1~474 X-Git-Url: http://git.kpe.io/?a=commitdiff_plain;h=832b1dc4daeb7b5437719b9a8866ab22eb97f8d7;p=uffi.git r1809: initial cvs import --- diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..5a2957a --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,9 @@ +The Debian Package CL-UFFI +-------------------------- + +This is the UFFI Common Lisp system packaged for Debian. + +Anonymous CVS for this code is available at: +:pserver:anoncvs@cvs.med-info.com:/pubcvs uffi + +Kevin Rosenberg , Thu, 25 Apr 2002 19:13:41 -0600 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..3631dd2 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +cl-uffi (0.4.3-1) unstable; urgency=low + + * Initial Release. + + -- Kevin Rosenberg Thu, 25 Apr 2002 19:13:41 -0600 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7822ce9 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: cl-uffi +Section: devel +Priority: optional +Maintainer: Kevin Rosenberg +Build-Depends: debhelper (>> 3.0.0) +Standards-Version: 3.5.2 + +Package: cl-uffi +Architecture: all +Depends: common-lisp-controller, cmucl | lisp-compiler +Description: Universal Foreign Function Library for Common Lisp + UFFI provides a universal foreign function interface (FFI) for Common Lisp. + UFFI supports CMUCL, Lispworks, and AllegroCL. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..3a08824 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +The home site for UFFI is http://uffi.med-info.com. The package +may be downloaded from that site. + +UFFI has been packaged by Kevin M. Rosenberg who is also the +upstream author. + +Copyright: + +UFFI is written and Copyright (c) 2002 by Kevin M. Rosenberg. + +UFFI is licensed under the terms of the Lisp Lesser GNU +Public License (http://opensource.franz.com/preamble.html), known as +the LLGPL. The LLGPL consists of a preamble (see above URL) and the +LGPL. Where these conflict, the preamble takes precedence. +UFFI is referenced in the preamble as the "LIBRARY." + +UFFI 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. + + + diff --git a/debian/doc-base b/debian/doc-base new file mode 100644 index 0000000..399d880 --- /dev/null +++ b/debian/doc-base @@ -0,0 +1,15 @@ +Document: cl-uffi +Title: Debian UFFI Manual +Author: Kevin M. Rosenberg +Abstract: This manual describes how + to use the UFFI Common Lisp library. +Section: devel + +Format: postscript +Files: /usr/share/doc/cl-uffi/cl-uffi.ps.gz + +Format: HTML +Index: /usr/share/doc/cl-uffi/html/index.html +Files: /usr/share/doc/cl-uffi/html/*.html + + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..5502ed8 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +NEWS +README +TODO diff --git a/debian/postinst b/debian/postinst new file mode 100644 index 0000000..eceeca2 --- /dev/null +++ b/debian/postinst @@ -0,0 +1,52 @@ +#! /bin/sh +# postinst script for uffi +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=%% + +# summary of how this script can be called: +# * `configure' +# * `abort-upgrade' +# * `abort-remove' `in-favour' +# +# * `abort-deconfigure' `in-favour' +# `removing' +# +# 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 + + diff --git a/debian/prerm b/debian/prerm new file mode 100644 index 0000000..ef7d09f --- /dev/null +++ b/debian/prerm @@ -0,0 +1,42 @@ +#! /bin/sh +# prerm script for uffi +# +# see: dh_installdeb(1) + +set -e + +# package name according to lisp +LISP_PKG=%% + +# summary of how this script can be called: +# * `remove' +# * `upgrade' +# * `failed-upgrade' +# * `remove' `in-favour' +# * `deconfigure' `in-favour' +# `removing' +# +# 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 + + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..63da393 --- /dev/null +++ b/debian/rules @@ -0,0 +1,106 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +export DH_VERBOSE=1 + +# This is the debhelper compatibility version to use. +export DH_COMPAT=3 + +pkg := cl-uffi +prefix := debian/tmp + +INSTALL := install +INSTALLFLAGS := -g root -o root -m 0644 +INSTALLDIRFLAGS := -d -g root -o root -m 0755 + +SOURCESDEST := $(prefix)/usr/share/common-lisp/repositories/uffi/src +SYSDIR := $(prefix)/usr/share/common-lisp/systems +DOCDIR := $(prefix)/usr/share/doc/uffi + + +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. + $(MAKE) doc + #/usr/bin/docbook-to-man debian/uffi.sgml > uffi.1 + + touch build-stamp + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/uffi. + $(INSTALL) $(INSTALLDIRFLAGS) $(SOURCESDEST) $(SOURCESDEST)/mcl $(SYSDIR) $(DOCDIR) $(DOCDIR)/html + $(INSTALL) $(INSTALLFLAGS) uffi.system $(SYSDIR) + $(INSTALL) $(INSTALLFLAGS) $(shell echo src/*.cl) $(SOURCESDEST) + $(INSTALL) $(INSTALLFLAGS) $(shell echo src/mcl/*.cl) $(SOURCESDEST)/mcl + $(INSTALL) $(INSTALLFLAGS) doc/html/* $(DOCDIR)/html + cp doc/uffi.ps doc/cl-uffi.ps + rm doc/cl-uffi.ps.gz + gzip doc/cl-uffi.ps + $(INSTALL) $(INSTALLDIRFLAGS) doc/uffi.ps.gz $(DOCDIR) + rm doc/cl-uffi.ps.gz + +# Build architecture-independent files here. +binary-indep: build install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot +# dh_installdebconf + dh_installdocs + dh_installexamples + dh_installmenu +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_installinit +# dh_installcron +# dh_installman +# dh_installinfo +# dh_undocumented + dh_installchangelogs ChangeLog + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_makeshlibs + dh_installdeb +# dh_perl +# dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure + diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..1a7f6a2 --- /dev/null +++ b/debian/watch @@ -0,0 +1,5 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# Site Directory Pattern Version Script +ftp.med-info.com /pub/uffi uffi-(.*)\.tar\.gz debian uupdate