Commit Graph

6 Commits

Author SHA1 Message Date
Tony Theodore c950f3635c various packages: enable shared builds 2014-02-10 16:33:26 +11: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
Niels Kristian Bech Jensen 5a4ef4b53d update package protobuf 2013-04-22 18:57:50 +10:00
Tony Theodore 32430b72ce package protobuf: ignore release candidates in update script 2012-12-12 22:54:08 +11:00
Mark Brand 4182367993 package protobuf: fixed bulding of test program 2012-09-18 22:37:42 +02:00
lotodore 4009fb35a9 Add package protobuf (google protocol buffers). 2012-09-18 21:49:50 +02:00