the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: kleansweep
Version: 0.2.9
Revision: 1002
Source: http://linux.bydg.org/~yogin/%n-%v.tar.bz2
Depends: kdelibs3-unified (>= 3.5-1), qt3-shlibs, x11-shlibs, x11
BuildDepends: gettext-tools, kdelibs3-unified-dev (>= 3.5-1), qt3, scons, x11-dev
Recommends: kdebase3-unified (>= 3.5-1)
GCC: 4.0
Maintainer: Jack Fink
Homepage: http://linux.bydg.org/~yogin
License: GPL
Description: KDE - Finds and removes unneeded files
Source-MD5: eb4530dc77fbe35ede8267e89275e5e9
SetCXXFLAGS: -Os
PatchFile: %n.patch
PatchFile-MD5: 39f4ee6fc92491c26efa2d5c5dc570ba
PatchScript: <<
%{default_script}
perl -pi -e 's/environ rpath/environ/' SConstruct
<<
CompileScript: scons configure prefix=%p && scons
InstallScript: DESTDIR=%d scons install
DocFiles: AUTHORS ChangeLog COPYING NEWS README THANKS TODO
DescPackaging: <<
Patch file from Ubuntu
http://packages.ubuntu.com/maverick/kleansweep
<<
diff -Nur -x '*.orig' -x '*~' kleansweep-0.2.9/admin/generic.py kleansweep-0.2.9.new/admin/generic.py
--- kleansweep-0.2.9/admin/generic.py 2008-02-15 02:59:29.000000000 +0100
+++ kleansweep-0.2.9.new/admin/generic.py 2008-02-15 03:00:49.278304972 +0100
@@ -244,7 +244,8 @@
ret=self.env.Program(self.p_localtarget, self.p_localsource)
if not self.env.has_key('NOAUTOINSTALL'):
ins=self.env.bksys_install(self.instdir, ret)
- if self.perms: self.env.AddPostAction(ins, self.env.Chmod(ins, self.perms))
+ if ins and self.perms:
+ for i in ins: self.env.AddPostAction(ins, self.env.Chmod(str(i), self.perms))
elif self.type=='staticlib':
ret=self.env.StaticLibrary(self.p_localtarget, self.p_localsource)
@@ -462,7 +463,8 @@
if not destfile: install_list = env.Install(lenv.join(basedir,subdir), lenv.make_list(files))
elif subdir: install_list = env.InstallAs(lenv.join(basedir,subdir,destfile), lenv.make_list(files))
else: install_list = env.InstallAs(lenv.join(basedir,destfile), lenv.make_list(files))
- if perms and install_list: lenv.AddPostAction(install_list, lenv.Chmod(install_list, perms))
+ if perms and install_list:
+ for i in install_list: lenv.AddPostAction(install_list, lenv.Chmod(str(i), perms))
env.Alias('install', install_list)
return install_list