wok rev 17184

Add phpfm
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 02 12:33:11 2014 +0200 (2014-10-02)
parents 8c7d656c813d
children 54f6cfa51542
files adminer/receipt phpfm/receipt
line diff
     1.1 --- a/adminer/receipt	Tue Sep 30 00:49:01 2014 +0300
     1.2 +++ b/adminer/receipt	Thu Oct 02 12:33:11 2014 +0200
     1.3 @@ -1,30 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="adminer"
     1.7 -VERSION="3.3.4"
     1.8 +VERSION="4.1.0"
     1.9  CATEGORY="misc"
    1.10  SHORT_DESC="Database management in a single PHP file."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -LICENSE="GPL2"
    1.13 -TARBALL="$PACKAGE-$VERSION"
    1.14 +LICENSE="GPL2 Apache"
    1.15 +TARBALL="$PACKAGE-$VERSION.zip"
    1.16  WEB_SITE="http://www.adminer.org/"
    1.17 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL.php"
    1.18 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20  DEPENDS="php"
    1.21 -BUILD_DEPENDS=""
    1.22 +BUILD_DEPENDS="php-cli php-mysql php-pgsql php-sqlite"
    1.23 +SUGGESTED="php-mysql php-pgsql php-sqlite"
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27  {
    1.28 -	cd $src
    1.29 -	[ -s "$SOURCES_REPOSITORY/$TARBALL" ] ||
    1.30 -		wget -O "$SOURCES_REPOSITORY/$TARBALL" $WGET_URL
    1.31 -	cp "$SOURCES_REPOSITORY/$TARBALL" index.php
    1.32 +	php compile.php
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/var/www/$PACKAGE
    1.39 -	cp $src/index.php $fs/var/www/$PACKAGE/
    1.40 +	cp $src/adminer-$VERSION.php $fs/var/www/$PACKAGE/index.php
    1.41  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/phpfm/receipt	Thu Oct 02 12:33:11 2014 +0200
     2.3 @@ -0,0 +1,21 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="phpfm"
     2.7 +SOURCE="phpFileManager"
     2.8 +VERSION="0.9.8"
     2.9 +CATEGORY="misc"
    2.10 +SHORT_DESC="Database management in a single PHP file."
    2.11 +MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +LICENSE="GPL2 LGPL2.1 MPL"
    2.13 +TARBALL="$SOURCE-$VERSION.zip"
    2.14 +WEB_SITE="http://phpfm.sourceforge.net/"
    2.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.16 +
    2.17 +DEPENDS="php"
    2.18 +
    2.19 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.20 +genpkg_rules()
    2.21 +{
    2.22 +	mkdir -p $fs/var/www/$PACKAGE
    2.23 +	cp $src/index.php $fs/var/www/$PACKAGE/
    2.24 +}