[Frugalware-devel] Patch for fwmakepkg
Marcus Habermehl
bmh1980de at yahoo.de
Mon May 9 19:07:05 CEST 2005
Hi!
I have upload a patch for /usr/lib/frugalware/fwmakepkg to incoming.
This patch add support for the python distutils installation.
Content of fwmakepkg-python.diff:
--- fwmakepkg.orig 2005-05-09 18:46:16.000000000 +0200
+++ fwmakepkg 2005-05-09 18:59:10.000000000 +0200
@@ -164,6 +164,8 @@
Fmessage "Compiling..."
if [ -f GNUmakefile -o -f makefile -o -f Makefile ]; then
make || return 1
+ elif [ -f setup.py ]; then
+ python setup.py build "$@" || return 1
fi
}
@@ -178,6 +180,9 @@
if [ -e $Fdestdir/usr/info/dir ]; then
Frm /usr/info/dir
fi
+ elif [ -f setup.py ]; then
+ Fmessage "Installing to the package directory..."
+ python setup.py install --prefix = "$Fprefix" --root
"$Fdestdir" "$@" || return 1
fi
}
regards
BMH1980
More information about the Frugalware-devel
mailing list