Hi Chris (and Diederik),

Quoting Chris Knadle (2022-12-13 08:51:00)
> Diederik de Haas:
> > On Wednesday, 7 December 2022 10:13:00 CET Chris Knadle wrote:
> >> What I really need is a Debian source package that uses CMake to see an
> >> example of how to build a package. I'm looking at list of packages that
> >> reverse depend on cmake, maybe I can find a Debian source package that
> >> build-depends on CMake that way.
> > 
> > Maybe https://salsa.debian.org/cryptocoin-team/monero ?
> > It uses CMake and upstream uses .gitsubmodules
> 
> Yes the Debian monero package uses cmake and the debian/rules file does too 
> which is indicated by this:
> 
>     DH_OPTIONS = -O--buildsystem=cmake
> 
>     %:
>          dh $@ $(DH_OPTIONS:-O%=%)
> 
> When I was looking at Debian packaging with cmake I saw that it's possible to 
> differentiate files into binary packages in a new way. Instead the 
> monero.install and monero-tests.install files in debian/ for the monero and 
> monero-tests binary packages look traditional, which may simplify the 
> transition, so that's something useful.

I am happy that you find my composition of the monero package
inspirational. As you might have noticed I have orphaned the package,
but I am still around and am happy to answer any question you have about
how that packaging was done - and perhaps I can point you to other
examples as well (I have grown quite a collection by now).


Kind regards, and enjoy your new packaging task,

 - Jonas


-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to