wok view adminer/receipt @ rev 25178
Add linux-chrome
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 03 18:25:40 2022 +0000 (2022-07-03) |
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 }