wok-current view drupal/receipt @ rev 25560
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 25 18:09:10 2023 +0000 (20 months ago) |
parents | 0f4a853f36b4 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="drupal"
4 VERSION="9.3.6"
5 CATEGORY="misc"
6 SHORT_DESC="PHP content management system."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://git.drupalcode.org/project/drupal"
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 - https://git.drupalcode.org/project/drupal/-/tags?sort=updated_desc 2>/dev/null | \
21 sed '/item-title/!d;/alpha/d;s|.*">||;s|<.*||' | 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 }