Commit Graph

10 Commits

Author SHA1 Message Date
Niels Kristian Bech Jensen 2c8ec4dc8c update packages cminpack imagemagick ocaml-lablgl ocaml-lablgtk2 sdl_gfx 2013-11-10 17:47:13 +11:00
Mark Brand 6ea82c8274 update packages: cminpack file harfbuzz libircclient mpg123 netpbm 2013-10-08 22:50:28 +02: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
Mark Brand 0a792006c7 update package cminpack 2012-10-11 17:33:21 +02:00
Mark Brand 62119f02d1 package cminpack: fix update macro 2012-10-11 17:32:31 +02:00
Tony Theodore 4ed13a9f30 all packages: use $(WGET) portability variable 2012-05-16 17:49:40 +10:00
Mark Brand 090f167f80 update package cminpack 2012-05-14 20:46:00 +02:00
Mark Brand 65c9f8d496 update package cminpack 2012-05-05 21:03:51 +02:00
Tony Theodore 4ab33e541c package cminpack: fix update macro 2012-05-04 02:43:52 +10:00
Alois Schlögl e53520d777 new packages: cminpack levmar libf2c 2012-05-03 21:08:56 +10:00