diff options
author | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-05-06 08:56:23 +0000 |
---|---|---|
committer | ranke <ranke@f247ebf9-aa24-0410-a698-f940e971ad2b> | 2008-05-06 08:56:23 +0000 |
commit | af68fe03db4382ed5310499c68921dc0001ef396 (patch) | |
tree | c7d18d56815f3f06acda2862c99e607384c2a388 | |
parent | aa4cd7e1f0e555072c175aa60055be6d99760140 (diff) |
First commit from my new build environment on USB hard disk.
I don't plan to support sarge any longer
git-svn-id: svn+ssh://stiller/home/schatz/reps/r-backports@31 f247ebf9-aa24-0410-a698-f940e971ad2b
-rwxr-xr-x | r-sarge-cran-recommended.mk | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/r-sarge-cran-recommended.mk b/r-sarge-cran-recommended.mk deleted file mode 100755 index 6cae6d9..0000000 --- a/r-sarge-cran-recommended.mk +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/make -f -# -*- makefile -*- -# -# Generic debian/rules file for the Debian/GNU Linux r-cran-* packages -# -# Should be sufficient for Debianization of CRAN (http://cran.r-project.org) -# packages. Note that you still need to provide the other files in debian/*, -# in particular control, changelog and copyright. -# -# Copyright 2003-2006 by Dirk Eddelbuettel <edd@debian.org> -# Changed by: Johannes Ranke <jranke@uni-bremen.de> -# Changed debRlib to correct value for recommended packages -# Last Change: 2006 Dez 21 - -include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/class/langcore.mk - -# awk command to extract word after Package or Bundle, lowercased -awkString := "'/^(Package|Bundle):/ {print tolower($$2) }'" - -# apply it to the upstream meta-info file DESCRIPTION -cranName := $(shell awk "$(awkString)" DESCRIPTION) - -## and use the result to build the Debian'ized package name -package := r-cran-$(cranName) - -## which we use for the to-be-installed-in directory -## jranke: for recommended packages -debRlib := $(CURDIR)/debian/$(package)/usr/lib/R/library - -## optional installation of a lintian silencer -lintiandir := $(CURDIR)/debian/$(package)/usr/share/lintian/overrides - -common-install-indep:: R_any_arch -common-install-arch:: R_any_arch - -R_any_arch: - ## create the target directory - dh_installdirs usr/lib/R/site-library - ## call R to install the sources we're looking at - R CMD INSTALL -l $(debRlib) --clean . - ## remove extra files which are present in some packages - rm -vf $(debRlib)/R.css \ - $(debRlib)/$(cranName)/COPYING \ - $(debRlib)/$(cranName)/LICENSE.txt - ## if we have an overrides file for lintian, install it - if test -f debian/overrides; then \ - install -d $(lintiandir) ; \ - install -m 0644 debian/overrides \ - $(lintiandir)/$(package); \ - fi |