wok-current rev 19966

Add fslint
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 01 13:39:37 2017 +0200 (2017-06-01)
parents 5fbfbf6ec818
children dfeebf7e6265
files fslint/description.txt fslint/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fslint/description.txt	Thu Jun 01 13:39:37 2017 +0200
     1.3 @@ -0,0 +1,4 @@
     1.4 +FSlint is a utility to find redundant disk usage like duplicate files
     1.5 +for example. It can be used to reclaim disk space and fix other problems
     1.6 +like file naming issues and bad symlinks etc.
     1.7 +It includes a GTK+ GUI as well as a command line interface.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/fslint/receipt	Thu Jun 01 13:39:37 2017 +0200
     2.3 @@ -0,0 +1,39 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="fslint"
     2.7 +VERSION="2.46"
     2.8 +CATEGORY="base-system"
     2.9 +SHORT_DESC="File System 'lint' discovery and cleaning utility"
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="GPL2"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.13 +WEB_SITE="http://www.pixelbeat.org/fslint/"
    2.14 +WGET_URL="$WEB_SITE/$TARBALL"
    2.15 +
    2.16 +DEPENDS="gtk+ python libglade pygtk findutils cpio"
    2.17 +BUILD_DEPENDS="gettext"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	make -C po DESTDIR=$DESTDIR LOCALEDIR=/usr/share/locale install
    2.23 +}
    2.24 +
    2.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.26 +genpkg_rules()
    2.27 +{
    2.28 +	mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
    2.29 +	mkdir -p $fs/usr/bin $fs/usr/share/fslint
    2.30 +	mkdir -p $install/usr/share/pixmaps
    2.31 +	cp -a $src/doc $src/man $install/usr/share/
    2.32 +	cp -a $src/fslint.desktop $fs/usr/share/applications
    2.33 +	cp -a $src/fslint-gui $fs/usr/bin
    2.34 +	cp -a $src/fslint.glade $fs/usr/bin
    2.35 +	cp -a $src/fslint/fstool $fs/usr/share/fslint/
    2.36 +	cp -a $src/fslint/supprt $fs/usr/share/fslint/
    2.37 +	cp -a $src/fslint/find* $fs/usr/share/fslint/
    2.38 +	cp -a $src/fslint/fslint $fs/usr/share/fslint/
    2.39 +	cp -a $src/fslint/zipdir $fs/usr/share/fslint/
    2.40 +	cp -a $src/fslint_icon.png $fs/usr/share/fslint/
    2.41 +	ln -s ../fslint/fslint_icon.png $fs/usr/share/pixmaps
    2.42 +}