On Tue, Jan 31, 2012 at 5:37 AM, Andreas Tille <[email protected]> wrote:
>> | They all build right now. I'm missing the license text to add for
>> | packages using MIT and Artistic-2, an easy fix I think. The only major
>> | issue I found was with RSQLite, which includes the sqlite3 source, but
>> | I'm guessing I need to link against Debian's sqlite3.
>>
>> Then you may need to patch the upstream configure.  When I was doing the
>> automatic builds of 2000+ (at the time) CRAN packages that were autogenerated
>> as .deb package, I just left it as is.  Given that R needs to run on Windoze,
>> OS X and various Linux/Unix flavours it was defensible for for Seth to
>> include the sources.
>
> For the manual packaging targeting at a Debian release I would strongly
> recommend to use Debian packaged sqlite3 (by patching upstream
> configure).

I have taken a look at the upstream's configure, but haven't quite
understand how to correctly patch it. They did include
'--with-sqlite-dir', '--with-sqlite-inc' and '--with-sqlite-lib',
these can be use to avoid using the bundled sqlite3. How could I set
these options when the package builds?

This is the 'debian/rules' file I copied from r-cran-rocr:
#!/usr/bin/make -f

include /usr/share/R/debian/r-cran.mk

# Require a number equal or superior than the R version the package
was built with.
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

Thanks,
Carlos


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CABgGhBJePrw2izhEo7imN1JR4Wb1LwVa2pdo8Z2TCMg9v2v=g...@mail.gmail.com

Reply via email to