wok annotate adminer/receipt @ rev 16374

Up: slitaz-configs (5.4) Getting ready for 5.0-RC1
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 14 19:59:46 2014 +0200 (2014-04-14)
parents 372da2303ff1
children 3a87a5fb7626
rev   line source
pascal@13591 1 # SliTaz package receipt.
pascal@13591 2
pascal@13591 3 PACKAGE="adminer"
pascal@13591 4 VERSION="3.3.4"
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@15201 8 LICENSE="GPL2"
pascal@16241 9 TARBALL="$PACKAGE-$VERSION"
pascal@13591 10 WEB_SITE="http://www.adminer.org/"
pascal@16241 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL.php"
pascal@13591 12
pascal@13591 13 DEPENDS="php"
pascal@13591 14 BUILD_DEPENDS=""
pascal@13591 15
pascal@13591 16 # Rules to configure and make the package.
pascal@13591 17 compile_rules()
pascal@13591 18 {
pascal@13591 19 cd $src
pascal@16244 20 [ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
pascal@16244 21 wget -O "$SOURCES_REPOSITORY/$TARBALL" $WGET_URL
pascal@16244 22 cp "$SOURCES_REPOSITORY/$TARBALL" index.php
pascal@13591 23 }
pascal@13591 24
pascal@13591 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13591 26 genpkg_rules()
pascal@13591 27 {
pascal@13591 28 mkdir -p $fs/var/www/$PACKAGE
pascal@16244 29 cp $src/index.php $fs/var/www/$PACKAGE/
pascal@13591 30 }