wok-6.x annotate fslint/receipt @ rev 24537
updated fakeroot (1.24 -> 1.27)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Feb 23 13:56:54 2022 +0100 (2022-02-23) |
parents | 7cf846126d8d |
children | e87ba24b9929 |
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" |
pascal@19966 | 6 SHORT_DESC="File System 'lint' discovery and cleaning utility" |
pascal@19966 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19966 | 8 LICENSE="GPL2" |
pascal@19966 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@19966 | 10 WEB_SITE="http://www.pixelbeat.org/fslint/" |
pascal@19966 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
pascal@19966 | 12 |
pascal@19966 | 13 DEPENDS="gtk+ python libglade pygtk findutils cpio" |
pascal@19966 | 14 BUILD_DEPENDS="gettext" |
pascal@19966 | 15 |
pascal@24433 | 16 # What is the latest version available today? |
pascal@24433 | 17 current_version() |
pascal@24433 | 18 { |
pascal@24433 | 19 wget -O - https://github.com/pixelb/fslint/tags 2>/dev/null | \ |
pascal@24433 | 20 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24433 | 21 } |
pascal@24433 | 22 |
pascal@19966 | 23 # Rules to configure and make the package. |
pascal@19966 | 24 compile_rules() |
pascal@19966 | 25 { |
pascal@19966 | 26 make -C po DESTDIR=$DESTDIR LOCALEDIR=/usr/share/locale install |
pascal@19966 | 27 } |
pascal@19966 | 28 |
pascal@19966 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19966 | 30 genpkg_rules() |
pascal@19966 | 31 { |
pascal@19966 | 32 mkdir -p $fs/usr/share/pixmaps $fs/usr/share/applications |
pascal@19966 | 33 mkdir -p $fs/usr/bin $fs/usr/share/fslint |
pascal@19966 | 34 mkdir -p $install/usr/share/pixmaps |
pascal@19966 | 35 cp -a $src/doc $src/man $install/usr/share/ |
pascal@19966 | 36 cp -a $src/fslint.desktop $fs/usr/share/applications |
pascal@19966 | 37 cp -a $src/fslint-gui $fs/usr/bin |
pascal@19966 | 38 cp -a $src/fslint.glade $fs/usr/bin |
pascal@19966 | 39 cp -a $src/fslint/fstool $fs/usr/share/fslint/ |
pascal@19966 | 40 cp -a $src/fslint/supprt $fs/usr/share/fslint/ |
pascal@19966 | 41 cp -a $src/fslint/find* $fs/usr/share/fslint/ |
pascal@19966 | 42 cp -a $src/fslint/fslint $fs/usr/share/fslint/ |
pascal@19966 | 43 cp -a $src/fslint/zipdir $fs/usr/share/fslint/ |
pascal@19966 | 44 cp -a $src/fslint_icon.png $fs/usr/share/fslint/ |
pascal@19966 | 45 ln -s ../fslint/fslint_icon.png $fs/usr/share/pixmaps |
pascal@19966 | 46 } |