Commit Graph

17 Commits

Author SHA1 Message Date
Viktor Szakats b9a47e838a Secure URLs 2018-07-27 12:18:03 +10:00
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11:00
Tony Theodore e7b9a21056 native pkgs: use explicit cross-target deps and remove empty rules 2017-12-23 08:18:52 +11:00
Tony Theodore c840a7ee1e update github tag tracking packages to new conf style 2017-11-09 17:13:49 +11:00
Tony Theodore 63ec639669 yasm: use new-style variables 2017-10-31 19:38:42 +11:00
Viktor Szakats 45d34aaac7 more URL updates 2017-03-10 13:59:00 +00:00
Viktor Szakats e961e447fb URL updates 2017-03-04 10:33:47 +00:00
Boris Nagaev 74163f1794 add _WEBSITE and _DESCR fields to core packages
See https://github.com/mxe/mxe/issues/1422

Automation (Python 2 code): https://gist.github.com/9f5c315e5d0cf113d41dc454b7a0eb41
2016-12-22 22:25:48 +01:00
Boris Nagaev b826422ab8 add new variables: BUILD_CROSS, BUILD_NATIVE
They are useful for applying flags only to cross or only to native targets.
2016-10-29 13:07:41 +03:00
Boris Nagaev 6adb5ade12 Copyright headers: point to LICENSE.md and shorten
The following script was applied:

    sed ':a;/part of MXE.$/{N;s/\n//;ba}' -i $(git grep -l 'part of MXE')

    sed 's/\(part of MXE\).*\(See index.html\)/\1. \2/' -i \
        $(git grep -l 'part of MXE.*See index.html')

    before='This file is part of MXE. See index.html for further information.'
    after='This file is part of MXE. See LICENSE.md for licensing information.'
    sed "s/$before/$after/" -i $(git grep -l 'part of MXE')

Then git grep 'index.html for further information' revealed two other files.
One of them was patched manually (patch.mk). Makefile has text
"See index.html for further information" unrelated to licensing.

See https://github.com/mxe/mxe/issues/1500#issuecomment-241340792
2016-08-27 12:31:29 +03:00
Tony Theodore 9732e4dc29 pkgconf yasm: enable native builds and consolidate rules 2015-10-25 12:23:28 +11:00
Tony Theodore fc0ed34fb9 all packages: really use sha256 checksums 2015-09-23 18:32:58 +10:00
Tony Theodore a228c0488f all packages: switch to sha256 checksums
closes #871
2015-09-23 17:27:16 +10:00
Uwe Hermann 9732da25b1 yasm: update 2014-08-17 10:21:28 -07:00
Volker Grabsch e412eb642d Move package versions from index.html back into the src/*.mk files
Most of the automatic conversion was done using the following Python script:

import os
import re
pkgs = sorted(mkfile[:-len('.mk')] for mkfile in os.listdir('src') if mkfile.endswith('.mk'))
with open('index.html', 'rb') as f:
    index = f.read()
pkgs_index = re.findall('<td class="package">([^<]*)</td>', index)
assert pkgs_index == pkgs
versions = dict(re.findall('<td id="([^"]*)-version">([^<]*)</td>', index))
assert sorted(versions.keys()) == pkgs
for pkg in pkgs:
    version = versions[pkg]
    with open('src/' + pkg + '.mk', 'rb') as f:
        mk = f.read()
    checksumpos = mk.index('\n$(PKG)_CHECKSUM ')
    versionline = '\n$(PKG)_VERSION  := %(version)s' % {'version': version}
    newmk = mk[:checksumpos] + versionline + mk[checksumpos:]
    with open('src/' + pkg + '.mk', 'wb') as f:
        f.write(newmk)
2013-07-22 01:41:31 +02:00
Tony Theodore b7627171c2 package yasm: install prefixed binary in mxe bin path 2013-07-13 21:07:11 +10:00
Tony Theodore 634bdb4a4f add package yasm 2013-07-13 20:21:41 +10:00