wok view phpfm/receipt @ rev 24990
idesk: imlib2 >= 1.7.5 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 13 20:03:04 2022 +0000 (2022-05-13) |
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 }