19 lines
595 B
Plaintext
19 lines
595 B
Plaintext
|
# Description: Really cool WikiWiki clone written in PHP
|
|||
|
# URL: http://www.pmwiki.org/
|
|||
|
# Maintainer: J<>rgen Daubert, juergen dot daubert at t-online dot de
|
|||
|
# Depends on: mod_php
|
|||
|
|
|||
|
name=pmwiki
|
|||
|
version=2.1.26
|
|||
|
release=1
|
|||
|
source=(http://www.pmwiki.org/pub/$name/$name-$version.tgz)
|
|||
|
|
|||
|
build () {
|
|||
|
install -d $PKG/var/www/$name
|
|||
|
install -d -o nobody -m 700 $PKG/var/www/$name/{wiki.d,uploads}
|
|||
|
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
|
|||
|
}
|