wok-current view phpfm/receipt @ rev 25669

Add rdfind, required for firmware build
author Stanislas Leduc <shann@slitaz.org>
date Sat Mar 02 20:53:40 2024 +0000 (8 months ago)
parents ad0bc3efbf37
children
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 }