wok view fslint/receipt @ rev 24780
transmission: autoconf 2.70+ bug workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 20:17:02 2022 +0000 (2022-03-19) |
parents | 7cf846126d8d |
children | e87ba24b9929 |
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 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.pixelbeat.org/fslint/"
11 WGET_URL="$WEB_SITE/$TARBALL"
13 DEPENDS="gtk+ python libglade pygtk findutils cpio"
14 BUILD_DEPENDS="gettext"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://github.com/pixelb/fslint/tags 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make -C po DESTDIR=$DESTDIR LOCALEDIR=/usr/share/locale install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications
33 mkdir -p $fs/usr/bin $fs/usr/share/fslint
34 mkdir -p $install/usr/share/pixmaps
35 cp -a $src/doc $src/man $install/usr/share/
36 cp -a $src/fslint.desktop $fs/usr/share/applications
37 cp -a $src/fslint-gui $fs/usr/bin
38 cp -a $src/fslint.glade $fs/usr/bin
39 cp -a $src/fslint/fstool $fs/usr/share/fslint/
40 cp -a $src/fslint/supprt $fs/usr/share/fslint/
41 cp -a $src/fslint/find* $fs/usr/share/fslint/
42 cp -a $src/fslint/fslint $fs/usr/share/fslint/
43 cp -a $src/fslint/zipdir $fs/usr/share/fslint/
44 cp -a $src/fslint_icon.png $fs/usr/share/fslint/
45 ln -s ../fslint/fslint_icon.png $fs/usr/share/pixmaps
46 }