Commit Graph

9 Commits

Author SHA1 Message Date
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 d861e9fbdc package mdbtools: retry build with single job 2013-05-12 12:57:59 +10:00
Tony Theodore b6c22794a2 packages poppler mdbtools: separate make and install steps 2013-05-11 16:41:46 +10:00
Tony Theodore e48afbd0e9 package mdbtools: fix update script 2012-12-12 23:04:11 +11:00
Mark Brand 22b2cce941 update package mdbtools 2012-09-18 10:37:03 +02:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Tony Theodore 6a17de0c04 packages libgda, libgdamm, mdbtools: minor fixes and disable update macro 2012-05-02 23:31:27 +10:00
Ryan Laboucane 380392bcd5 new packages: libgda, libgdamm, mdbtools 2012-05-02 21:53:10 +10:00