wok-6.x view drupal/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | b12f8cb0009c |
children | 0f4a853f36b4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="drupal"
4 VERSION="8.8.1"
5 CATEGORY="misc"
6 SHORT_DESC="PHP content management system."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.drupal.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://ftp.drupal.org/files/projects/$TARBALL"
14 SUGGESTED="apache cherokee lighttpd"
15 DEPENDS="mysql php"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-[0-9]/!d;/dev/d;/-rc/d;/-beta/d;/-alpha/d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/var/www/drupal
29 cp -a $src/* $fs/var/www/drupal
30 chown -R 80.80 $fs/var/www/drupal
31 }