#!/usr/bin/make -f
# -*- makefile -*-
# debian/rules file for the Debian/GNU Linux r-cran-gplots package
# Copyright 2003-2006 by Dirk Eddelbuettel <edd@debian.org>
include /usr/share/R/debian/r-cran.mk
clean::
rm -f src/caTools.so
# Depend on a version equal or superior than the R upstream release that was used to build this package.
install/r-$(debRreposname)-$(cranName)::
echo "R:Depends=r-base-core (>= $(shell R --version | head -n1 | perl -ne 'print / +([0-9]\.[0-9]+\.[0-9])/')~)" >> debian/r-$(debRreposname)-$(cranName).substvars
|