Skip to content
Snippets Groups Projects
Commit 857f431e authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Remove the debian/ and debianTemplate/ files since they never get updated

so they are almost certainly useless to the debian folks anyway.
parent a1fe6281
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 435 deletions
haskell-cabal for Debian
------------------------
This is just a test package.
-- Isaac Jones <ijones@syntaxpolice.org>, Wed Jul 28 23:39:48 2004
haskell-cabal (1.1.3) unstable; urgency=low
* Release candidate for 1.2.
* WARNING: Interfaces not documented in the user's guide may
change in future releases.
* Move building of GHCi .o libs to the build phase rather than
register phase. (from Duncan Coutts)
* Use .tar.gz for source package extension
* Uses GHC instead of cpphs if the latter is not available
* Added experimental "command hooks" which completely override the
default behavior of a command.
* Some bugfixes
-- Isaac Jones <ijones@debian.org> Sat, 22 Oct 2005 11:38:59 -0700
haskell-cabal (1.1.1) unstable; urgency=low
* Release candidate for 1.2.
* WARNING: Interfaces not documented in the user's guide may
change in future releases.
* Handles recursive modules for GHC 6.2 and GHC 6.4.
* Added "setup test" command (Used with UserHook)
* implemented handling of _stub.{c,h,o} files
* Added support for profiling
* Changed install prefix of libraries (pref/pkgname-version
to prefix/pkgname-version/compname-version)
* Added pattern guards as a language extension
* Moved some functionality to Language.Haskell.Extension
* Register / unregister .bat files for windows
* Exposed more of the API
* Added support for the hide-all-packages flag in GHC > 6.4
* Several bug fixes
-- Isaac Jones <ijones@debian.org> Sun, 17 Jul 2005 22:16:42 -0700
haskell-cabal (0.5-1) unstable; urgency=low
* new upstream version. see upstream changelog for more info.
* some interface changes, see upstream changelog
-- Isaac Jones <ijones@debian.org> Sat, 19 Feb 2005 12:41:18 -0800
haskell-cabal (0.4-1) unstable; urgency=low
* new upstream version. see upstream changelog for more info.
* some interface changes, see upstream changelog.
* bumped standards-version.
-- Isaac Jones <ijones@debian.org> Sat, 15 Jan 2005 12:55:49 -0800
haskell-cabal (0.2-3) unstable; urgency=low
* added depends on posix (Closes: #280244).
-- Isaac Jones <ijones@debian.org> Mon, 8 Nov 2004 07:01:53 -0800
haskell-cabal (0.2-2) unstable; urgency=low
* Removed spurious depends on ghc5. Should close 279988. I'll close
that by hand once I'm sure.
-- Isaac Jones <ijones@debian.org> Sun, 7 Nov 2004 14:21:38 -0800
haskell-cabal (0.2-1) unstable; urgency=low
* New upstream release
* Includes cleanup of treatment of the local packages file
~/.ghc-packages. Doesn't touch this file unless it's
necessary. (Closes: #278667 Closes: #279556).
* Some work on preprocessors.
-- Isaac Jones <ijones@debian.org> Tue, 2 Nov 2004 20:06:22 -0800
haskell-cabal (0.1-4) unstable; urgency=low
* Added basic infrastructure for multiple targets, though
have not yet enabled it because it doesn't yet work upstream.
-- John Goerzen <jgoerzen@complete.org> Tue, 5 Oct 2004 19:45:27 -0500
haskell-cabal (0.1-3) unstable; urgency=low
* Fixed old postinst, postrm scripts to do the right thing in more cases.
-- John Goerzen <jgoerzen@complete.org> Tue, 5 Oct 2004 16:25:29 -0500
haskell-cabal (0.1-2) unstable; urgency=low
* Install binary under /usr/lib/haskell-libraries/ghc6 in keeping
with new Haskell policy.
-- John Goerzen <jgoerzen@complete.org> Tue, 5 Oct 2004 15:56:03 -0500
haskell-cabal (0.1-1) unstable; urgency=low
* Initial release. Closes: #275069.
-- John Goerzen <jgoerzen@complete.org> Tue, 05 Oct 2004 13:36:08 -0500
4
Source: haskell-cabal
Priority: optional
Maintainer: Isaac Jones <ijones@debian.org>
Build-Depends: debhelper (>= 4.0.0), ghc6 (>= 6.2.2), ghc6 (6.4)
Standards-Version: 3.6.1
Suggests: haddock, cpphs
Package: libghc6-cabal-dev
Section: devel
Architecture: any
Depends: ghc6 (>= 6.2.2), ghc6 (<< 6.2.3)
Description: Haskell Common Architecture for Building Applications and Libraries
The Haskell Cabal is a system for building and installing Haskell
programs and libraries. It is aware of multiple different compilers
and can handle them without trouble.
.
This package will provide the infrastructure necessary to build
Cabalized packages on Debian machines, or to Debianize those packages.
This package was debianized by Isaac Jones <ijones@debian.org> on
Wed, 28 Jul 2004 22:29:38 -0400.
John Goerzen updated it for sid in October 5, 2004.
It was downloaded from http://www.haskell.org/cabal/code.html
Upstream Authors: Bjorn Bringert, Isaac Jones, Simon Marlow,
Martin Sjögren
Copyright:
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Isaac Jones nor the names of other
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
usr/bin
usr/share/doc/libghc6-cabal-dev
README
releaseNotes
usr/lib
usr/include
usr/include/*
usr/lib/lib*.a
usr/lib/lib*.so
usr/lib/pkgconfig/*
/usr/lib/*.la
usr/lib
usr/lib/lib*.so.*
#! /bin/sh
# postinst script for missingh
#
# see: dh_installdeb(1)
set -e
# 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
#
case "$1" in
configure)
chmod +x /usr/share/doc/libghc6-cabal-dev/register.sh
/usr/share/doc/libghc6-cabal-dev/register.sh
;;
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 missingh
#
# see: dh_installdeb(1)
set -e
# 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)
chmod +x /usr/share/doc/libghc6-cabal-dev/unregister.sh
/usr/share/doc/libghc6-cabal-dev/unregister.sh
rm -f /usr/lib/haskell-packages/ghc6/lib/Cabal-0.6/HSCabal*.o
# install-info --quiet --remove /usr/info/missingh.info.gz
;;
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
# -*- makefile -*-
# 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
GHCVERSION=6.2.2
GHCPATH=/usr/lib/ghc-$(GHCVERSION)/bin
PATH:=$(GHCPATH):$(PATH)
export PATH
CFLAGS = -Wall -g
LIBPATH=/usr/lib/haskell-packages/$(1)
PACKAGE=lib$(1)-cabal-dev
FLAVORS=ghc6
define build_flavor
echo BUILDING FOR $(1)
-./setup clean
rm -f .*config*
./setup configure --prefix=$(LIBPATH) --with-compiler=/usr/bin/$(1)
./setup build
mkdir -p $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)
cp -r $(CURDIR)/doc/API $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)
cp -r $(CURDIR)/doc/users-guide $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)
./setup copy --copy-prefix=$(CURDIR)/debian/$(PACKAGE)$(LIBPATH)
#generate the register and unregister scripts
./setup register --gen-script
./setup unregister --gen-script
# install them for later
cp register.sh $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/register.sh
cp unregister.sh $(CURDIR)/debian/$(PACKAGE)/usr/share/doc/$(PACKAGE)/unregister.sh
endef
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
CFLAGS += -O0
else
CFLAGS += -O2
endif
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
INSTALL_PROGRAM += -s
endif
# shared library versions, option 1
version=2.0.5
major=2
# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
#version=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
#major=`ls src/.libs/lib*.so.* | \
# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
configure: configure-stamp
configure-stamp:
dh_testdir
# Add here commands to configure the package.
make setup
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.
-$(MAKE) clean
rm -f .*config*
dh_clean
install: build
dh_testdir
dh_testroot
dh_clean -k
dh_installdirs
$(foreach tgt,$(FLAVORS),$(call build_flavor,$(tgt)))
# 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_installchangelogs -a
dh_installdocs -a
dh_installexamples -a
# dh_install
# dh_installmenu
# dh_installdebconf
# dh_installlogrotate
# dh_installemacsen
# dh_installpam
# dh_installmime
# dh_installinit
# dh_installcron
# dh_installinfo
dh_installman -a
dh_link -a
dh_strip -a
dh_compress -a
dh_fixperms -a
# dh_perl
# dh_python
# dh_makeshlibs
dh_installdeb -a
dh_shlibdeps -a
dh_gencontrol -a
dh_md5sums -a
dh_builddeb -a
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install configure
#PACKAGE# (#VERSION#-1) unstable; urgency=low
* Initial Release.
-- #USERNAME# <#EMAIL#> #DATE#
4
\ No newline at end of file
Source: #PACKAGE#
Priority: optional
Maintainer: #USERNAME# <#EMAIL#>
Build-Depends: debhelper (>= 4.0.0)
Standards-Version: #POLICY#
Package: libghc6-#PACKAGE#-dev
Section: devel
Architecture: any
#Depends: #PACKAGE# (= ${Source-Version})
Description: <insert up to 60 chars description>
<insert long description, indented with spaces>
# Package: libnhc98-#PACKAGE#-dev
# Section: devel
# Architecture: any
# Description: <insert up to 60 chars description>
# <insert long description, indented with spaces>
#
# Package: libhugs-#PACKAGE#-dev
# Section: devel
# Architecture: any
# Description: <insert up to 60 chars description>
# <insert long description, indented with spaces>
installed-pkg-config
#!/bin/sh -e
ghc-pkg -g --add-package \
< /usr/share/doc/libghc6-#PACKAGE#-dev/installed-pkg-config
#DEBHELPER#
#!/bin/sh -e
ghc-pkg -r #PACKAGE#
# ditch that ghci library:
rm /usr/lib/#PACKAGE#-#VERSION#/HS#PACKAGE#-#VERSION#.o
#DEBHELPER#
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment