wok-next annotate adminer/receipt @ rev 20779
typo
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Fri Jun 08 09:48:36 2018 +0000 (2018-06-08) |
parents | 3a87a5fb7626 |
children | a3c581bf52b8 |
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@13591 | 10 WEB_SITE="http://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 } |