================================ foomatic-db:source=3.0.20060720-1 cvc rdiff foomatic-db -1 /weasel.rpath.org@wgl:3-devel/3.0.20060720-1 ================================ 3.0.20060720-1 Filip Brcic (brcha@xxxxxxxxxxxx) Mon Jun 21 12:35:17 2010 foomatic-db 3.0.20060720 foomatic-db-3.0-20060720.tar.gz: new foomatic-db.recipe: new --- /dev/null +++ foomatic-db.recipe @@ -0,0 +35 @@ +# +# Copyright (c) 2010 Weasel GNU/Linux [Filip Brcic (brcha@xxxxxxxxxxxx)] +# Distributed under the terms of the GNU General Public License v3 +# + +class FoomaticDb(AutoPackageRecipe): + name = 'foomatic-db' + version = '3.0.20060720' + + buildRequires = [] + + shortDesc = 'Printer information files for foomatic-db-engine to generate ppds' + url = 'http://www.linuxprinting.org/foomatic.html' + licenses = [ 'GPL-2' ] + categories = [ 'Network/Printing' ] + + def unpack(r): + sv = r.version.split('.') + r.macros.archive_version = '-'.join([ '.'.join(sv[0:2]), sv[2] ]) + r.addArchive(('http://gentooexperimental.org/~genstef/dist/', + 'http://linuxprinting.org/download/foomatic/')) + + def configure(r): + r.Configure( + ' --disable-gzip-ppds' + ' --disable-ppds-to-cups' + ) + + # ppd files do not belong to this package + r.Remove('db/source/PPD', recursive=True) + + def policy(r): + r.Doc('ChangeLog', 'README', 'TODO', 'USAGE') + + r.Requires('foomatic-db-engine:runtime', '%(datadir)s/foomatic/db/') Committed by: brcha