From 68027dacd8ce803ec3c2831361efae30479d5cb9 Mon Sep 17 00:00:00 2001 From: Toni Nikkanen Date: Sat, 7 Mar 2009 20:58:16 +0200 Subject: [PATCH] First attempt at debianization --- debian/changelog | 6 ++++ debian/compat | 1 + debian/control | 16 +++++++++ debian/copyright | 22 ++++++++++++ debian/dirs | 2 ++ debian/rules | 101 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 148 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/dirs create mode 100755 debian/rules diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..5574368 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +erwise (0.1-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Toni Nikkanen Sat, 7 Mar 2009 20:49:16 +0200 + diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7ed6ff8 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +5 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..045cfb8 --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: erwise +Section: user/other +Priority: extra +Maintainer: Toni Nikkanen +Build-Depends: debhelper (>= 5) +Standards-Version: 3.7.2 + +Package: erwise +Architecture: any +Depends: ${shlibs:Depends} +Description: The first graphical WWW browser from year 1992 +From http://en.wikipedia.org/wiki/Erwise +Erwise was a pioneering web browser, and the first with a graphical user interface.[1] + +Released in April 1992, the browser was written for Unix computers running X and used the W3 common access library.[2], and was the combined master's project of four Finnish students at the Helsinki University of Technology; Kim Nyberg, Teemu Rantanen, Kati Suominen and Kari Sydänmaanlakka.[3][4] The group decided to create a web browser at the suggestion of Robert Cailliau, who was visiting the university,[5] and were supervised by Ari Lemmke. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..0032291 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,22 @@ +This package was debianized by Toni Nikkanen on +Sat, 7 Mar 2009 20:49:16 +0200. + +It was downloaded from + +Upstream Author: + +Copyright: + +License: + + + + +The Debian packaging is (C) 2009, Toni Nikkanen and +is licensed under the GPL, see `/usr/share/common-licenses/GPL'. + + +# Please also look if there are files or directories which have a +# different copyright/license attached and list them here. + diff --git a/debian/dirs b/debian/dirs new file mode 100644 index 0000000..527b78f --- /dev/null +++ b/debian/dirs @@ -0,0 +1,2 @@ +usr/bin +usr/lib diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..79a42ed --- /dev/null +++ b/debian/rules @@ -0,0 +1,101 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + + + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +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) + #docbook-to-man debian/erwise.sgml > erwise.1 + + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) clean + find . -name *.a|xargs rm -vf + find . -name *.o|xargs rm -vf + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the package into debian/erwise. + install erwise/erwise debian/erwise/usr/bin/ + install lesstif-libs/* debian/erwise/usr/lib/ + + +# 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 + dh_installdocs + dh_installexamples +# dh_install +# dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam +# dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman + dh_link + dh_strip + dh_compress + dh_fixperms +# dh_perl +# dh_makeshlibs + 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 -- 1.7.9.5