wok-current annotate adminer/receipt @ rev 20668
Up pjsip (2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 10:25:55 2019 +0100 (2019-01-21) |
parents | 40e999c964ea |
children | e45302e3b0d0 |
rev | line source |
---|---|
pascal@13591 | 1 # SliTaz package receipt. |
pascal@13591 | 2 |
pascal@13591 | 3 PACKAGE="adminer" |
pascal@17184 | 4 VERSION="4.1.0" |
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" |
pascal@17184 | 9 TARBALL="$PACKAGE-$VERSION.zip" |
pascal@20668 | 10 WEB_SITE="https://www.adminer.org/" |
pascal@17184 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@13591 | 12 |
pascal@13591 | 13 DEPENDS="php" |
pascal@17184 | 14 BUILD_DEPENDS="php-cli php-mysql php-pgsql php-sqlite" |
pascal@17184 | 15 SUGGESTED="php-mysql php-pgsql php-sqlite" |
pascal@13591 | 16 |
pascal@13591 | 17 # Rules to configure and make the package. |
pascal@13591 | 18 compile_rules() |
pascal@13591 | 19 { |
pascal@17186 | 20 php compile.php 2>&1 | sed '/^PHP Warning/d' |
pascal@13591 | 21 } |
pascal@13591 | 22 |
pascal@13591 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13591 | 24 genpkg_rules() |
pascal@13591 | 25 { |
pascal@13591 | 26 mkdir -p $fs/var/www/$PACKAGE |
pascal@17184 | 27 cp $src/adminer-$VERSION.php $fs/var/www/$PACKAGE/index.php |
pascal@13591 | 28 } |