wok annotate drupal/receipt @ rev 25062

Up foomatic-db-nonfree (20210824)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 07 10:29:31 2022 +0000 (2022-06-07)
parents 0f4a853f36b4
children
rev   line source
slaxemulator@7400 1 # SliTaz package receipt.
slaxemulator@7400 2
slaxemulator@7400 3 PACKAGE="drupal"
Hans-G?nter@24502 4 VERSION="9.3.6"
slaxemulator@7400 5 CATEGORY="misc"
Hans-G?nter@22741 6 SHORT_DESC="PHP content management system."
pascal@13025 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15202 8 LICENSE="GPL2"
pascal@24945 9 WEB_SITE="https://git.drupalcode.org/project/drupal"
Hans-G?nter@20854 10
Hans-G?nter@20854 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@20854 12 WGET_URL="https://ftp.drupal.org/files/projects/$TARBALL"
Hans-G?nter@20854 13
Hans-G?nter@22741 14 SUGGESTED="apache cherokee lighttpd"
Hans-G?nter@22741 15 DEPENDS="mysql php"
pascal@15202 16
pascal@24439 17 # What is the latest version available today?
pascal@24439 18 current_version()
pascal@24439 19 {
pascal@24945 20 wget -O - https://git.drupalcode.org/project/drupal/-/tags?sort=updated_desc 2>/dev/null | \
pascal@24945 21 sed '/item-title/!d;/alpha/d;s|.*">||;s|<.*||' | sort -Vr | sed q
pascal@24439 22 }
pascal@24439 23
slaxemulator@7400 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7400 25 genpkg_rules()
slaxemulator@7400 26 {
slaxemulator@7400 27 mkdir -p $fs/var/www/drupal
Hans-G?nter@22741 28
Hans-G?nter@22741 29 cp -a $src/* $fs/var/www/drupal
Hans-G?nter@22741 30 chown -R 80.80 $fs/var/www/drupal
slaxemulator@7400 31 }