From 62cbcd271283070848a0d924ba25a061a2dff2da Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 11 Oct 2011 15:08:14 +0200 Subject: applied debian erlang-slang_1.0-3 patch: some slang_drv updates most of this are useless whitespace changes, but slang_drv is updated and debian files are added --- debian/README.Debian | 16 ++++++++++ debian/changelog | 21 +++++++++++++ debian/control | 16 ++++++++++ debian/copyright | 11 +++++++ debian/dirs | 2 ++ debian/docs | 3 ++ debian/links | 1 + debian/rules | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 155 insertions(+) create mode 100644 debian/README.Debian create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100644 debian/docs create mode 100644 debian/links create mode 100644 debian/rules (limited to 'debian') diff --git a/debian/README.Debian b/debian/README.Debian new file mode 100644 index 0000000..95fc141 --- /dev/null +++ b/debian/README.Debian @@ -0,0 +1,16 @@ +erlang-slang for Debian +----------------------- + + +Known Problems: + +- The erlang repl doesn't seem to like erlang-slang mucking around with + the terminal much. A work around is to compile your erlang sources + using erlc and run them using erl -noshell -s Mod Fun + +- The documentation is not complete though usable. + + +------------------- + + -- Mark Ng , Sat, 7 Jul 2001 15:11:20 +1000 diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..1048193 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,21 @@ +erlang-slang (1.0-3) unstable; urgency=low + + * Moved to Non-US : (closes: #133467) (closes: #133756) + + -- Mark Ng Thu, 14 Feb 2002 18:25:30 +1100 + +erlang-slang (1.0-2) unstable; urgency=low + + * Applied David N. Welton's patch : (closes: #121460) + - powerPC build. + - uses new erl_driver.h instead of driver.h interface. + + -- Mark Ng Mon, 7 Jan 2002 01:11:38 +1100 + +erlang-slang (1.0-1) unstable; urgency=low + + * Initial Release (closes: #101742) + + -- Mark Ng Sun, 28 Oct 2001 00:28:40 +1000 + + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..1bf6cab --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: erlang-slang +Section: non-us/interpreters +Priority: optional +Maintainer: Mark Ng +Standards-Version: 3.5.6 +Build-Depends: debhelper (>> 3.0.0), slang1-dev (>= 1.4.4), erlang (>= 50), c-compiler, findutils, grep + +Package: erlang-slang +Architecture: any +Depends: ${shlibs:Depends}, erlang (>= 50) +Description: S-Lang interface for Erlang + This is an erlang interface to S-Lang the amazing highly portable tty + interface that gave us such nice tty applications as mutt and slrn + . + It's distributed as an erlang application (without a start mod) which makes + it possible to integrate into a larger build environment. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..d6f3c3a --- /dev/null +++ b/debian/copyright @@ -0,0 +1,11 @@ +This package was debianized by Mark Ng on +Sat, 7 Jul 2001 15:11:20 +1000. + +It was downloaded from http://www.erlang.org/contrib/slang-1.0.tgz + +Upstream Author(s): Claes Wikstrom + +Copyright: + + Same terms as slang itself. ie: GPL or Artistic License. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..a7c403e --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/lib/erlang/lib/slang-1.0/ + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..f693f70 --- /dev/null +++ b/debian/docs @@ -0,0 +1,3 @@ +README +TODO +doc/erlslang.txt diff --git a/debian/links b/debian/links new file mode 100644 index 0000000..f29afb0 --- /dev/null +++ b/debian/links @@ -0,0 +1 @@ +/usr/lib/erlang/lib/slang-1.0/demo /usr/share/doc/erlang-slang/examples diff --git a/debian/rules b/debian/rules new file mode 100644 index 0000000..ffcb464 --- /dev/null +++ b/debian/rules @@ -0,0 +1,85 @@ +#!/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 compatability version to use. +export DH_COMPAT=3 + +export ERLDIR=/usr/lib/erlang/ + +configure: configure-stamp +configure-stamp: + dh_testdir + # Add here commands to configure the package. + make conf + + touch configure-stamp + +build: configure-stamp build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. + $(MAKE) + + + 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/erlang-slang. + # $(MAKE) install DESTDIR=$(CURDIR)/debian/erlang-slang + + + FILES=`find demo include ebin priv src slang.pub | grep -i -v -e cvs -e \.empty` ; \ + for f in $$FILES ; do if test -f $$f ; then \ + cp -P $$f $(CURDIR)/debian/erlang-slang/usr/lib/erlang/lib/slang-1.0 ; \ + fi ; done + + + +# 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_installdocs + + +# dh_undocumented + dh_installchangelogs + dh_link + dh_strip + dh_compress + dh_fixperms + dh_makeshlibs + dh_installdeb + dh_shlibdeps -- $(CURDIR)/debian/erlang-slang/usr/lib/erlang/lib/slang-1.0/priv/slang_drv.so + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure + + -- cgit v1.2.3