wok annotate phpfm/receipt @ rev 25512

memtest: 386/1M support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 14 07:20:48 2023 +0000 (16 months ago)
parents ad0bc3efbf37
children 1e09c4c56491
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@25510 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 }