wok annotate phpfm/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 | 15650f5d595b |
children | ad0bc3efbf37 |
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" |
Hans-Günter@25135 | 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@24102 | 17 current_version() |
pascal@24102 | 18 { |
pascal@24102 | 19 wget -O - https://sourceforge.net/projects/phpfm/files/phpFileManager/ 2>/dev/null | \ |
pascal@24102 | 20 sed '/Click to/!d;s|.*version ||;s|".*||;q' |
pascal@24102 | 21 } |
pascal@24102 | 22 |
pascal@17184 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17184 | 24 genpkg_rules() |
pascal@17184 | 25 { |
pascal@17184 | 26 mkdir -p $fs/var/www/$PACKAGE |
Hans-Günter@25135 | 27 cp $src/index.php $fs/var/www/$PACKAGE/ |
pascal@17184 | 28 } |