wok view phpfm/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 69e1e705f038 |
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://github.com/dulldusk/phpfm/releases 2>/dev/null | \
21 sed '/tag\//!d;s|.*tag/v*||;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 }