================================ dosfstools:source=3.0.2-1 cvc rdiff dosfstools -1 /weasel.rpath.org@wgl:3-devel/3.0.2-1 ================================ 3.0.2-1 Filip Brcic (brcha@xxxxxxxxxxxx) Wed Jun 30 14:30:25 2010 dosfstools 3.0.2 dosfstools-3.0.2.tar.bz2: new dosfstools.recipe: new --- /dev/null +++ dosfstools.recipe @@ -0,0 +33 @@ +# +# Copyright (c) 2010 Weasel GNU/Linux [Filip Brcic (brcha@xxxxxxxxxxxx)] +# Distributed under the terms of the GNU General Public License v3 +# + +class Dosfstools(CPackageRecipe): + name = 'dosfstools' + version = '3.0.2' + + buildRequires = [] + + shortDesc = 'DOS filesystem tools - provides mkdosfs, mkfs.msdos, mkfs.vfat' + url = 'http://www.daniel-baumann.ch/software/dosfstools/' + licenses = [ 'GPL-2' ] + categories = [ 'System' ] + + def setup(r): + r.addArchive('http://www.daniel-baumann.ch/software/dosfstools/') + + r.Replace('/local', '', + 'Makefile', + lines='^PREFIX') + r.Replace('=.*', '=', + 'Makefile', + lines='^OPTFLAGS') + + r.macros.cflags += ' -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE' + + r.Make() + r.MakeInstall() + + r.Move('%(sbindir)s/*fsck*', '%(essentialsbindir)s/') + r.Move('%(docdir)s/%(name)s/*', '%(thisdocdir)s/') Committed by: brcha