2006-10-28 11:19:38 +02:00
|
|
|
# Description: Really cool WikiWiki clone written in PHP
|
|
|
|
# URL: http://www.pmwiki.org/
|
2014-12-14 11:50:31 +01:00
|
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
|
|
# Depends on: php-fpm
|
2006-10-28 11:19:38 +02:00
|
|
|
|
|
|
|
name=pmwiki
|
2016-03-31 12:49:31 +02:00
|
|
|
version=2.2.85
|
2007-04-02 08:54:48 +02:00
|
|
|
release=1
|
|
|
|
source=(http://www.pmwiki.org/pub/$name/$name-$version.tgz)
|
2006-10-28 11:19:38 +02:00
|
|
|
|
|
|
|
build () {
|
|
|
|
install -d $PKG/var/www/$name
|
2007-04-02 08:54:48 +02:00
|
|
|
install -d -o www -m 700 $PKG/var/www/$name/{wiki.d,uploads}
|
2006-10-28 11:19:38 +02:00
|
|
|
cp -R $name-$version/* $PKG/var/www/$name
|
|
|
|
mv $PKG/var/www/$name/{docs/sample-config.php,local/config.php.sample}
|
|
|
|
rm -r $PKG/var/www/$name/docs
|
|
|
|
find $PKG -name 'README*' -delete
|
|
|
|
}
|