[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Mingw-cross-env-list] Adding package
From: |
Lothar Serra Mari |
Subject: |
Re: [Mingw-cross-env-list] Adding package |
Date: |
Mon, 9 Sep 2019 20:54:55 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.0 |
Hi there,
> Is that the case, or am I missing something?
The MXE envonment has support for GitHub repositories. For example, have
a look at https://github.com/mxe/mxe/blob/master/src/fluidsynth.mk
The magic part is
> $(PKG)_VERSION := 2.0.6
> $(PKG)_CHECKSUM :=
> e97e63c1045e102465f1aa848f9d712c5528c58685b8d40062e4aaf6af7edb75
> $(PKG)_GH_CONF := FluidSynth/fluidsynth/tags,v
For VERSION use the latest git tag, CHECKSUM is the SHA256 sum of the
tarball.
In GH_CONF you can specify the GitHub repository which then will act as
the source. Since your repository uses the same versioning scheme as
this example, you can use
> $(PKG)_GH_CONF := steveire/grantlee/tags,v
for your package.
With best regards
Lothar