Commit Graph

7 Commits

Author SHA1 Message Date
Tony Theodore 58120ab21e package automake: disable doc build 2013-10-20 14:17:30 +11:00
Tony Theodore 5b318144b9 native packages: tidy up and install to BUILD prefix to avoid conflicts 2013-08-25 19:12:13 +10:00
Tony Theodore 6a6edeffc2 packages automake libtool: fix deps for native builds 2013-08-24 22:38:53 +10:00
Tony Theodore bfe15253af add optional native autotools bison cmake flex libtool packages 2013-08-24 21:02:24 +10:00
Tony Theodore 4bc0f0f924 remove optional native builds for autoconf automake cmake libtool
these need more testing and proper multi-target support
2013-07-26 12:56:28 +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
Tony Theodore 2b8d7eaf67 add optional native automake and autoconf 2013-07-17 13:27:00 +10:00