aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorranke <ranke@d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc>2005-08-08 15:23:33 +0000
committerranke <ranke@d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc>2005-08-08 15:23:33 +0000
commit318518e17bace1b7dc0a4526af267edd88feb447 (patch)
treecf8ef03a2045c16924dd8da3f2d14f3acb034ce9 /debian
parentc5f30593d42ecd9a21f799a4943709b1b73a1162 (diff)
Debianization.
git-svn-id: http://kriemhild.uft.uni-bremen.de/svn/drfit@35 d1b72e20-2ee0-0310-a1c4-ad5adbbefcdc
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog5
-rw-r--r--debian/compat1
-rw-r--r--debian/control22
-rw-r--r--debian/copyright16
-rw-r--r--debian/postinst24
-rw-r--r--debian/postrm24
-rwxr-xr-xdebian/rules24
7 files changed, 116 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d698567
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+drfit (0.04-34) unstable; urgency=low
+
+ * Initial Debian Release
+
+ -- Johannes Ranke <jranke@uni-bremen.de> Mon, 08 Aug 2005 14:58:34 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..900feb4
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,22 @@
+Source: drfit
+Section: math
+Priority: optional
+Maintainer: Johannes Ranke <jranke@uni-bremen.de>
+Build-Depends: debhelper (>>4.1.0), cdbs, r-base-dev (>= 2.0.0)
+Standards-Version: 3.6.2.1
+
+Package: r-cran-drfit
+Architecture: any
+Depends: ${shlibs:Depends}, r-base-core (>= 2.0.0), r-cran-rodbc
+Suggests: odbc-postgresql, libmyodbc
+Description: GNU R package for dose-response data evaluation
+ This CRAN package provides provides basic functions for fitting dose-response
+ curves to dose-response data, calculating some (eco)toxicological parameters
+ and plotting the results. Functions that are fitted are the cumulative
+ densitiy function of the lognormal distribution (probit fit), of the logistic
+ distribution (logit fit), of the weibull distribution (weibull fit) and a
+ linear-logistic model ("linlogit" fit), derived from the latter, which is used
+ to describe data showing stimulation at low doses (hormesis).
+ .
+ In addition, functions checking, plotting and retrieving dose-response data of
+ the UFT Bremen, Department of Bioorganic Chemistry, are provided.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5ebde10
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,16 @@
+This is the Debian GNU/Linux r-cran-drfit package of drfit, an
+dose-response data evaluation package for GNU R.
+
+The sources were taken from the subversion repository
+ http://kriemhild.uft.uni-bremen.de/svn/drfit
+as browseable under
+ http://kriemhild.uft.uni-bremen.de/viewcvs/?root=drfit
+
+The package was renamed from its upstream name 'drfit' to 'r-cran-drfit'
+to highlight the fact that is it a CRAN package for R.
+
+drfit is copyright Johannes Ranke and released under
+(version 2 or higher of) the GNU General Public License (GPL).
+
+On a Debian GNU/Linux system, the GPL license is included in the file
+/usr/share/common-licenses/GPL.
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..cd2b3af
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,24 @@
+#!/bin/sh
+# debian/postinst file for r-cran-packages
+# Copyright 2004, 2005 by Dirk Eddelbuettel <edd@debian.org>
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+ configure)
+ if test -x /usr/bin/R; then
+ /usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
+ fi
+ ;;
+ abort-upgrade|abort-remove|abort-deconfigure)
+ ;;
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ ;;
+esac
+
+
+exit 0
+
diff --git a/debian/postrm b/debian/postrm
new file mode 100644
index 0000000..9d19fd3
--- /dev/null
+++ b/debian/postrm
@@ -0,0 +1,24 @@
+#!/bin/sh
+# debian/postrm file for r-cran packages
+# Copyright 2004, 2005 by Dirk Eddelbuettel <edd@debian.org>
+
+set -e
+
+#DEBHELPER#
+
+case "$1" in
+ upgrade|remove|purge)
+ if test -x /usr/bin/R; then
+ /usr/bin/R CMD perl /usr/lib/R/share/perl/build-help.pl --htmllists
+ fi
+ ;;
+ failed-upgrade|abort-install|abort-upgrade|disappear)
+ ;;
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ ;;
+esac
+
+
+exit 0
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c82d270
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,24 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# debian/rules file for the Debian/GNU Linux r-cran packages
+# Copyright 2004 by Dirk Eddelbuettel <edd@debian.org>
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/langcore.mk
+
+## We need the CRAN (upstream) name
+cranName := $(shell grep Package: DESCRIPTION | cut -f2 -d" ")
+## and we need to build a Debian Policy-conformant lower-case package name
+cranNameLC := $(shell echo $(cranName) | tr "[A-Z]" "[a-z]" | tr "." "-" )
+## which we can use to build the package directory
+package := r-cran-$(cranNameLC)
+## which we use for the to-be-installed-in directory
+debRlib := $(CURDIR)/debian/$(package)/usr/lib/R/site-library
+
+common-install-indep:: R_any_arch
+common-install-arch:: R_any_arch
+
+R_any_arch:
+ dh_installdirs usr/lib/R/site-library
+ R CMD INSTALL -l $(debRlib) --clean .
+ rm -vf $(debRlib)/R.css $(debRlib)/$(cranNameLC)/COPYING

Contact - Imprint