wok view drupal/receipt @ rev 24780
transmission: autoconf 2.70+ bug workaround
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 20:17:02 2022 +0000 (2022-03-19) |
parents | bfabe25c21ff |
children | 584e67527789 |
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://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 }