wok annotate adminer/receipt @ rev 23920
Up tazusb (207)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 19 17:19:00 2020 +0000 (2020-08-19) |
parents | bdd5dd52ad52 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="adminer" |
Hans-G?nter@22471 | 4 VERSION="4.7.5" |
pascal@13591 | 5 CATEGORY="misc" |
pascal@13591 | 6 SHORT_DESC="Database management in a single PHP file." |
pascal@13591 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17184 | 8 LICENSE="GPL2 Apache" |
Hans-G?nter@22471 | 9 WEB_SITE="https://www.adminer.org/" |
Hans-G?nter@22471 | 10 |
pascal@17184 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
Hans-G?nter@22471 | 12 WGET_URL="https://github.com/vrana/$PACKAGE/releases/download/v$VERSION/$TARBALL" |
pascal@13591 | 13 |
Hans-G?nter@22471 | 14 SUGGESTED="php-mysql php-pgsql php-sqlite" |
pascal@13591 | 15 DEPENDS="php" |
pascal@17184 | 16 BUILD_DEPENDS="php-cli php-mysql php-pgsql php-sqlite" |
pascal@13591 | 17 |
pascal@13591 | 18 # Rules to configure and make the package. |
pascal@13591 | 19 compile_rules() |
pascal@13591 | 20 { |
pascal@17186 | 21 php compile.php 2>&1 | sed '/^PHP Warning/d' |
pascal@13591 | 22 } |
pascal@13591 | 23 |
pascal@13591 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 25 genpkg_rules() |
pascal@13591 | 26 { |
pascal@13591 | 27 mkdir -p $fs/var/www/$PACKAGE |
pascal@17184 | 28 cp $src/adminer-$VERSION.php $fs/var/www/$PACKAGE/index.php |
pascal@13591 | 29 } |