wok view phpfm/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents 54f6cfa51542
children d008cce77ad1
line source
1 # SliTaz package receipt.
3 PACKAGE="phpfm"
4 SOURCE="phpFileManager"
5 VERSION="0.9.8"
6 CATEGORY="misc"
7 SHORT_DESC="PHP Filesystem Management Tool in a single file."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2 LGPL2.1 MPL"
10 TARBALL="$SOURCE-$VERSION.zip"
11 WEB_SITE="http://phpfm.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="php"
16 current_version()
17 {
18 wget -O - https://sourceforge.net/projects/phpfm/files/phpFileManager/ 2>/dev/null | \
19 sed '/Click to/!d;s|.*version ||;s|".*||;q'
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/var/www/$PACKAGE
26 cp $src/index.php $fs/var/www/$PACKAGE/
27 }