wok annotate phpfm/receipt @ rev 25457
Normazile https://sourceforge.net/projects web_sites
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 23 08:28:09 2022 +0000 (20 months ago) |
parents | d008cce77ad1 |
children | 69e1e705f038 |
rev | line source |
---|---|
pascal@17184 | 1 # SliTaz package receipt. |
pascal@17184 | 2 |
pascal@17184 | 3 PACKAGE="phpfm" |
Hans-G?nter@25135 | 4 VERSION="1.7.9" |
pascal@17184 | 5 CATEGORY="misc" |
pascal@17185 | 6 SHORT_DESC="PHP Filesystem Management Tool in a single file." |
pascal@17184 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
Hans-G?nter@25135 | 8 LICENSE="LGPL3" |
pascal@25457 | 9 WEB_SITE="https://sourceforge.net/projects/phpfm" |
Hans-G?nter@25135 | 10 |
Hans-G?nter@25135 | 11 SOURCE="phpFileManager" |
pascal@17184 | 12 TARBALL="$SOURCE-$VERSION.zip" |
pascal@17184 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17184 | 14 |
pascal@17184 | 15 DEPENDS="php" |
pascal@17184 | 16 |
pascal@25457 | 17 # What is the latest version available today? |
pascal@24102 | 18 current_version() |
pascal@24102 | 19 { |
pascal@24102 | 20 wget -O - https://sourceforge.net/projects/phpfm/files/phpFileManager/ 2>/dev/null | \ |
pascal@24102 | 21 sed '/Click to/!d;s|.*version ||;s|".*||;q' |
pascal@24102 | 22 } |
pascal@24102 | 23 |
pascal@17184 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17184 | 25 genpkg_rules() |
pascal@17184 | 26 { |
pascal@17184 | 27 mkdir -p $fs/var/www/$PACKAGE |
Hans-G?nter@25135 | 28 cp $src/index.php $fs/var/www/$PACKAGE/ |
pascal@17184 | 29 } |