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