# HG changeset patch # User Hans-G?nter Theisgen # Date 1651852482 -3600 # Node ID e87ba24b99291bb3d59fbcad45eb327a83b73776 # Parent 1805f71c5d9fab7957a6914718d828b4bc62f15b created recipe for fslint-lang diff -r 1805f71c5d9f -r e87ba24b9929 fslint-lang/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fslint-lang/receipt Fri May 06 16:54:42 2022 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="fslint-lang" +VERSION="2.46" +CATEGORY="localization" +SHORT_DESC="File System 'lint' discovery and cleaning utility - localised messages." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL2" +WEB_SITE="https://www.pixelbeat.org/fslint/" + +WANTED="fslint" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders locale +} diff -r 1805f71c5d9f -r e87ba24b9929 fslint/receipt --- a/fslint/receipt Fri May 06 11:04:25 2022 +0000 +++ b/fslint/receipt Fri May 06 16:54:42 2022 +0100 @@ -3,14 +3,15 @@ PACKAGE="fslint" VERSION="2.46" CATEGORY="base-system" -SHORT_DESC="File System 'lint' discovery and cleaning utility" +SHORT_DESC="File System 'lint' discovery and cleaning utility." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://www.pixelbeat.org/fslint/" TARBALL="$PACKAGE-$VERSION.tar.xz" -WEB_SITE="http://www.pixelbeat.org/fslint/" WGET_URL="$WEB_SITE/$TARBALL" -DEPENDS="gtk+ python libglade pygtk findutils cpio" +SUGGESTED="fslint-lang" +DEPENDS="bash coreutils-file-sort cpio findutils gtk+ libglade pygtk python" BUILD_DEPENDS="gettext" # What is the latest version available today? @@ -23,24 +24,36 @@ # Rules to configure and make the package. compile_rules() { - make -C po DESTDIR=$DESTDIR LOCALEDIR=/usr/share/locale install + sed -i -e s"|^liblocation=.*|liblocation=\'/usr/share'|" \ + -e s'|/po/locale|/locale|' \ + fslint-gui && + # create localised messages + make install \ + -C po \ + DESTDIR=$DESTDIR \ + LOCALEDIR=/usr/share/locale } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications - mkdir -p $fs/usr/bin $fs/usr/share/fslint - mkdir -p $install/usr/share/pixmaps - cp -a $src/doc $src/man $install/usr/share/ - cp -a $src/fslint.desktop $fs/usr/share/applications - cp -a $src/fslint-gui $fs/usr/bin - cp -a $src/fslint.glade $fs/usr/bin - cp -a $src/fslint/fstool $fs/usr/share/fslint/ - cp -a $src/fslint/supprt $fs/usr/share/fslint/ - cp -a $src/fslint/find* $fs/usr/share/fslint/ - cp -a $src/fslint/fslint $fs/usr/share/fslint/ - cp -a $src/fslint/zipdir $fs/usr/share/fslint/ - cp -a $src/fslint_icon.png $fs/usr/share/fslint/ - ln -s ../fslint/fslint_icon.png $fs/usr/share/pixmaps + mkdir -p $install/usr/share + cp -a $src/doc $install/usr/share/ + cp -a $src/man $install/usr/share/ + + mkdir -p $fs/usr/bin + mkdir -p $fs/usr/share/applications + mkdir -p $fs/usr/share/fslint + mkdir -p $fs/usr/share/pixmaps + + cp -a $src/fslint.desktop $fs/usr/share/applications + cp -a $src/fslint-gui $fs/usr/bin + cp -a $src/fslint.glade $fs/usr/share + cp -a $src/fslint/fstool $fs/usr/share/fslint/ + cp -a $src/fslint/supprt $fs/usr/share/fslint/ + cp -a $src/fslint/find* $fs/usr/share/fslint/ + cp -a $src/fslint/fslint $fs/usr/share/fslint/ + cp -a $src/fslint/zipdir $fs/usr/share/fslint/ + cp -a $src/fslint_icon.png $fs/usr/share/pixmaps + ln -s ./pixmaps/fslint_icon.png $fs/usr/share/fslint_icon.png }