wok-6.x annotate phpfm/receipt @ rev 24998
Up rp-pppoe (3.15)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 16 10:11:22 2022 +0000 (2022-05-16) |
parents | 54f6cfa51542 |
children | d008cce77ad1 |
rev | line source |
---|---|
pascal@17184 | 1 # SliTaz package receipt. |
pascal@17184 | 2 |
pascal@17184 | 3 PACKAGE="phpfm" |
pascal@17184 | 4 SOURCE="phpFileManager" |
pascal@17184 | 5 VERSION="0.9.8" |
pascal@17184 | 6 CATEGORY="misc" |
pascal@17185 | 7 SHORT_DESC="PHP Filesystem Management Tool in a single file." |
pascal@17184 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17184 | 9 LICENSE="GPL2 LGPL2.1 MPL" |
pascal@17184 | 10 TARBALL="$SOURCE-$VERSION.zip" |
pascal@17184 | 11 WEB_SITE="http://phpfm.sourceforge.net/" |
pascal@17184 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17184 | 13 |
pascal@17184 | 14 DEPENDS="php" |
pascal@17184 | 15 |
pascal@24102 | 16 current_version() |
pascal@24102 | 17 { |
pascal@24102 | 18 wget -O - https://sourceforge.net/projects/phpfm/files/phpFileManager/ 2>/dev/null | \ |
pascal@24102 | 19 sed '/Click to/!d;s|.*version ||;s|".*||;q' |
pascal@24102 | 20 } |
pascal@24102 | 21 |
pascal@17184 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17184 | 23 genpkg_rules() |
pascal@17184 | 24 { |
pascal@17184 | 25 mkdir -p $fs/var/www/$PACKAGE |
pascal@17184 | 26 cp $src/index.php $fs/var/www/$PACKAGE/ |
pascal@17184 | 27 } |