wok view phpfm/receipt @ rev 25543
linux-cloop: update cloop.u
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 11 12:33:53 2023 +0000 (20 months ago) |
parents | ad0bc3efbf37 |
children | 1e09c4c56491 |
line source
1 # SliTaz package receipt.
3 PACKAGE="phpfm"
4 VERSION="1.7.9"
5 CATEGORY="misc"
6 SHORT_DESC="PHP Filesystem Management Tool in a single file."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL3"
9 WEB_SITE="https://sourceforge.net/projects/phpfm/"
11 SOURCE="phpFileManager"
12 TARBALL="$SOURCE-$VERSION.zip"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="php"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/phpfm/files/phpFileManager/ 2>/dev/null | \
21 sed '/Click to/!d;s|.*version ||;s|".*||;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/var/www/$PACKAGE
28 cp $src/index.php $fs/var/www/$PACKAGE/
29 }