wok view fslint/receipt @ rev 25307
updated siproxd (0.8.2 -> 0.8.3)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 20 10:52:20 2022 +0100 (2022-07-20) |
parents | ad8b9ff412d2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fslint"
4 VERSION="2.46"
5 CATEGORY="base-system"
6 SHORT_DESC="File System 'lint' discovery and cleaning utility."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.pixelbeat.org/fslint/"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 SUGGESTED="fslint-lang"
14 DEPENDS="bash coreutils-file-sort cpio findutils gtk+ libglade pygtk python"
15 BUILD_DEPENDS="gettext"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/pixelb/fslint/tags 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i -e s"|^liblocation=.*|liblocation=\'/usr/share'|" \
28 -e s'|/po/locale|/locale|' \
29 fslint-gui &&
30 # create localised messages
31 make install \
32 -C po \
33 DESTDIR=$DESTDIR \
34 LOCALEDIR=/usr/share/locale
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $install/usr/share
41 cp -a $src/doc $install/usr/share/
42 cp -a $src/man $install/usr/share/
44 mkdir -p $fs/usr/bin
45 mkdir -p $fs/usr/share/applications
46 mkdir -p $fs/usr/share/fslint
47 mkdir -p $fs/usr/share/pixmaps
49 cp -a $src/fslint.desktop $fs/usr/share/applications
50 cp -a $src/fslint-gui $fs/usr/bin
51 cp -a $src/fslint.glade $fs/usr/share
52 cp -a $src/fslint/fstool $fs/usr/share/fslint/
53 cp -a $src/fslint/supprt $fs/usr/share/fslint/
54 cp -a $src/fslint/find* $fs/usr/share/fslint/
55 cp -a $src/fslint/fslint $fs/usr/share/fslint/
56 cp -a $src/fslint/zipdir $fs/usr/share/fslint/
57 cp -a $src/fslint_icon.png $fs/usr/share/pixmaps
58 ln -s ./pixmaps/fslint_icon.png $fs/usr/share/fslint_icon.png
59 }