wok-4.x annotate wordpress/receipt @ rev 7823
Add virtual package mysql_or_postgresql
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 26 11:36:56 2010 +0100 (2010-12-26) |
parents | 507d09d48035 |
children | 9e8ef75b7a98 |
rev | line source |
---|---|
slaxemulator@7399 | 1 # SliTaz package receipt. |
slaxemulator@7399 | 2 |
slaxemulator@7399 | 3 PACKAGE="wordpress" |
slaxemulator@7568 | 4 VERSION="3.0.3" |
slaxemulator@7399 | 5 CATEGORY="misc" |
slaxemulator@7399 | 6 SHORT_DESC="Blog Tool and Publishing Platform." |
slaxemulator@7399 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@7399 | 8 DEPENDS="php mysql" |
slaxemulator@7399 | 9 SUGGESSTED="apache cherokee" |
slaxemulator@7399 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
slaxemulator@7399 | 11 WEB_SITE="http://wordpress.org" |
slaxemulator@7399 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
slaxemulator@7399 | 13 |
slaxemulator@7399 | 14 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7399 | 15 genpkg_rules() |
slaxemulator@7399 | 16 { |
slaxemulator@7399 | 17 src=$WOK/$PACKAGE/$PACKAGE |
slaxemulator@7399 | 18 mkdir -p $fs/var/www/wordpress |
slaxemulator@7399 | 19 cp -a $src/* $fs/var/www/wordpress |
slaxemulator@7399 | 20 chown -R 80.80 $fs/var/www/wordpress |
slaxemulator@7399 | 21 } |
slaxemulator@7399 | 22 |