wok-current view adminer/receipt @ rev 24797
updated libhtp and libhtp-dev (0.5.32 -> 0.5.39)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 17:10:45 2022 +0100 (2022-03-21) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="adminer"
4 VERSION="4.8.1"
5 CATEGORY="misc"
6 SHORT_DESC="Database management in a single PHP file."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 Apache"
9 WEB_SITE="https://www.adminer.org/"
11 TARBALL="$PACKAGE-$VERSION.zip"
12 WGET_URL="https://github.com/vrana/$PACKAGE/releases/download/v$VERSION/$TARBALL"
14 SUGGESTED="php-mysql php-pgsql php-sqlite"
15 DEPENDS="php"
16 BUILD_DEPENDS="php-cli php-mysql php-pgsql php-sqlite"
18 current_version()
19 {
20 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 php compile.php 2>&1 | sed '/^PHP Warning/d'
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/var/www/$PACKAGE
34 cp $src/adminer-$VERSION.php $fs/var/www/$PACKAGE/index.php
35 }