All pastes #971869 Raw Edit

Miscellany

public text v1 · immutable
·published 2008-04-05 00:52 UTC
rendered paste body
class Numlockx(AutoPackageRecipe):
    name = "numlockx"
    version = "1.1"

    buildRequires = [ 'libXt:devel', 'libX11:devel', 'automake:runtime',
                      'autoconf:runtime', 'libXext:devel', 'libXtst:devel', ]

    def unpack(r):
        r.addArchive('http://ktown.kde.org/~seli/%(name)s/')
        r.addSource('numlockx.sh',
                    dest='%(sysconfdir)s/X11/xinit/xinitrc.d/', mode=0755)

    def configure(r):
        r.macros.optflags = '-O3'
        r.Automake()
        r.Configure()