Convert to dh-lisp; add Vcs-Browser
This commit is contained in:
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
||||
cl-puri (1.5.1-3) unstable; urgency=low
|
||||
|
||||
* Build with debhelper extension dh-lisp
|
||||
* control: Add Vcs-Browser field. Fix Depends field.
|
||||
|
||||
-- Kevin M. Rosenberg <kmr@debian.org> Mon, 03 Aug 2009 18:47:36 -0600
|
||||
|
||||
cl-puri (1.5.1-2) unstable; urgency=low
|
||||
|
||||
* debian/watch: New file
|
||||
|
||||
4
debian/control
vendored
4
debian/control
vendored
@ -2,14 +2,16 @@ Source: cl-puri
|
||||
Section: lisp
|
||||
Priority: optional
|
||||
Maintainer: Kevin M. Rosenberg <kmr@debian.org>
|
||||
Build-Depends-Indep: dh-lisp
|
||||
Build-Depends: debhelper (>= 7.0.0)
|
||||
Standards-Version: 3.8.2.0
|
||||
Homepage: http://files.b9.com/puri/
|
||||
Vcs-Git: git://git.b9.com/puri/
|
||||
Vcs-Browser: http://git.b9.com/puri/
|
||||
|
||||
Package: cl-puri
|
||||
Architecture: all
|
||||
Depends: common-lisp-controller (>= 3.47)
|
||||
Depends: ${misc:Depends}
|
||||
Recommends: cl-ptester
|
||||
Description: Common Lisp Portable URI Library
|
||||
This is portable Universal Resource Identifier (RFC 2396)
|
||||
|
||||
22
debian/postinst
vendored
22
debian/postinst
vendored
@ -1,22 +0,0 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
LISP_PKG=puri
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
register-common-lisp-source ${LISP_PKG}
|
||||
;;
|
||||
abort-upgrade|abort-remove|abort-deconfigure)
|
||||
;;
|
||||
*)
|
||||
echo "postinst called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
22
debian/prerm
vendored
22
debian/prerm
vendored
@ -1,22 +0,0 @@
|
||||
#! /bin/sh
|
||||
set -e
|
||||
|
||||
LISP_PKG=puri
|
||||
|
||||
case "$1" in
|
||||
remove|upgrade|deconfigure)
|
||||
unregister-common-lisp-source ${LISP_PKG}
|
||||
;;
|
||||
failed-upgrade)
|
||||
;;
|
||||
*)
|
||||
echo "prerm called with unknown argument \`$1'" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
||||
|
||||
57
debian/rules
vendored
57
debian/rules
vendored
@ -1,55 +1,44 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
pkg := puri
|
||||
debpkg := cl-puri
|
||||
pkg := puri
|
||||
debpkg := cl-puri
|
||||
|
||||
clc-source := usr/share/common-lisp/source
|
||||
clc-systems := usr/share/common-lisp/systems
|
||||
clc-puri := $(clc-source)/$(pkg)
|
||||
doc-dir := usr/share/doc/$(debpkg)
|
||||
clc-files := $(clc-source)/$(pkg)
|
||||
|
||||
|
||||
configure: configure-stamp
|
||||
configure-stamp:
|
||||
dh_testdir
|
||||
touch configure-stamp
|
||||
|
||||
build: build-stamp
|
||||
|
||||
build-stamp: configure-stamp
|
||||
dh_testdir
|
||||
touch build-stamp
|
||||
build:
|
||||
|
||||
clean:
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
rm -f build-stamp configure-stamp
|
||||
rm -f debian/cl-puri.postinst.* debian/cl-puri.prerm.*
|
||||
dh_clean
|
||||
|
||||
install: build
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_prep
|
||||
dh_installdirs $(clc-systems) $(clc-puri)
|
||||
dh_install *.asd $(shell echo *.lisp) $(clc-puri)
|
||||
dh_link $(clc-puri)/puri.asd $(clc-systems)/puri.asd
|
||||
dh_installdirs
|
||||
dh_install $(pkg).asd $(clc-files)
|
||||
dh_install *.lisp $(clc-files)
|
||||
|
||||
binary-indep: build install
|
||||
dh_testdir -i
|
||||
dh_testroot -i
|
||||
dh_installdocs -i README uri.html
|
||||
dh_installchangelogs -i
|
||||
dh_strip -i
|
||||
dh_compress -i
|
||||
dh_fixperms -i
|
||||
dh_installdeb -i
|
||||
dh_gencontrol -i
|
||||
dh_md5sums -i
|
||||
dh_builddeb -i
|
||||
binary-indep: install
|
||||
dh_testdir
|
||||
dh_testroot
|
||||
dh_installdocs README uri.html
|
||||
dh_installchangelogs
|
||||
dh_lisp
|
||||
dh_compress
|
||||
dh_fixperms
|
||||
dh_installdeb
|
||||
dh_gencontrol
|
||||
dh_md5sums
|
||||
dh_builddeb
|
||||
|
||||
binary-arch: build install
|
||||
binary-arch:
|
||||
|
||||
binary: binary-indep binary-arch
|
||||
.PHONY: build clean binary-indep binary-arch binary install configure
|
||||
binary: binary-indep
|
||||
|
||||
|
||||
.PHONY: build clean binary-indep binary-arch binary install
|
||||
|
||||
Reference in New Issue
Block a user