You are not logged in.

#1 2015-11-09 21:14:19

cds84
Member
Registered: 2015-03-08
Posts: 6

create a binary package from cygwin.

No, im not crazy!

I am putting together an archlinux arm install for my employer.
Unfortunatly, most developers in my software department are not linux devs, And the boss doesnt want them to need to learn it.

I've ported our game engine to GNU/Linux, and got a few scripts togeter to build the source under cygwin with the Linaro cross compiler.
The last hurdle is getting the built software onto the embedded device.

I would really really like to use pacman.

The problem, is getting makepkg to work on cygwin/windows.
Fakeroot obviously isnt going to work.

My current thinking, is to create a script to create a new <temp>/usr
pass --prefix=<temp>/usr to ../configure

then tar/gz up the package.

Obviously, i will need to decipher the .MTREE format, and generate a .PKGINFO and .MTREE.

What are the experts opinion in this... Will it be as easy as i think?
Or am I heading for a world of pain ?

Has anyone done anything similar to this before ?

Thanks.

Offline

#2 2015-11-10 02:37:51

MoSal
Member
Registered: 2015-09-23
Posts: 32

Re: create a binary package from cygwin.

Check out MSYS2. They actually use pacman as a package manager.

Offline

#3 2015-11-10 20:54:30

cds84
Member
Registered: 2015-03-08
Posts: 6

Re: create a binary package from cygwin.

Thanks MoSal,
It looks like that is exactly what I'm looking for!

Offline

Board footer

Powered by FluxBB