wok view adminer/receipt @ rev 19875

linld: fix chdirname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 31 12:51:11 2017 +0200 (2017-03-31)
parents 3a87a5fb7626
children bdd5dd52ad52
line source
1 # SliTaz package receipt.
3 PACKAGE="adminer"
4 VERSION="4.1.0"
5 CATEGORY="misc"
6 SHORT_DESC="Database management in a single PHP file."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 Apache"
9 TARBALL="$PACKAGE-$VERSION.zip"
10 WEB_SITE="http://www.adminer.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="php"
14 BUILD_DEPENDS="php-cli php-mysql php-pgsql php-sqlite"
15 SUGGESTED="php-mysql php-pgsql php-sqlite"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 php compile.php 2>&1 | sed '/^PHP Warning/d'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/var/www/$PACKAGE
27 cp $src/adminer-$VERSION.php $fs/var/www/$PACKAGE/index.php
28 }