wok view phpfm/receipt @ rev 25430
Up os-prober (1.81)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 19 06:26:39 2022 +0000 (2022-08-19) |
parents | 15650f5d595b |
children | ad0bc3efbf37 |
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 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/phpfm/files/phpFileManager/ 2>/dev/null | \
20 sed '/Click to/!d;s|.*version ||;s|".*||;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/var/www/$PACKAGE
27 cp $src/index.php $fs/var/www/$PACKAGE/
28 }