Commit Graph

19 Commits

Author SHA1 Message Date
Tony Theodore 01e2a64d00 cross packages: replace dependency gcc with cc 2017-12-23 08:19:00 +11: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 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 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
Tony Theodore 8de0584a23 many packages: explicitly disable shared builds
closes #369
2014-04-06 23:18:24 +10: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
Volker Grabsch a34ea233b1 Fix initial comments of all src/*.mk files 2013-07-21 18:47:20 +02:00
Tony Theodore 5390e5203e various packages: enable/disable mingw-w64 builds 2013-06-01 22:28:04 +10:00
Niels Kristian Bech Jensen 8be993ec42 Update package ocaml-flexdll 2013-05-05 22:52:01 +02:00
Tony Theodore c15477d86f package ocaml-flexdll: remove unprefixed link from bin/ 2012-12-31 20:48:58 +11:00
Tony Theodore c5aa156b48 ocaml packages: fix update scripts 2012-12-15 17:14:00 +11:00
Tony Theodore 9e8cc40d9d package ocaml-flexdll: fix update script 2012-12-12 22:47:38 +11:00
Tony Theodore 31395ccb11 package ocaml-flexdll: portability fixes 2012-12-11 22:31:57 +11:00
Tony Theodore bcb89dfe6a ocaml packages: fix inconsistent spacing 2012-12-09 16:50:47 +11:00
Tony Theodore 7337ea85ee run make cleanup-style 2012-12-05 18:18:54 +11:00
William d967145120 add package ocaml-flexdll 2012-10-30 22:50:57 +01:00
Mark Brand e66d6725df Revert "add package ocaml-flexdll"
This reverts commit 53ea6fa0b1.
2012-09-18 23:44:16 +02:00
William 53ea6fa0b1 add package ocaml-flexdll 2012-08-23 23:23:43 +02:00