From 8d9ed9baa1f4476e4c7a287fb3c0948796464131 Mon Sep 17 00:00:00 2001 From: Gwenhael Le Moine Date: Tue, 8 Feb 2011 19:21:03 +0700 Subject: [PATCH] add demos --- web/fatfree/fatfree.SlackBuild | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/web/fatfree/fatfree.SlackBuild b/web/fatfree/fatfree.SlackBuild index 4e30f044..2b1b4756 100755 --- a/web/fatfree/fatfree.SlackBuild +++ b/web/fatfree/fatfree.SlackBuild @@ -42,6 +42,12 @@ if [ ! -e $CWD/fatfree.sourceforge.net ]; then fi cp -R $CWD/fatfree.sourceforge.net $PKG$PREFIX/doc/$PRGNAM +mkdir -p $PKG$PREFIX/doc/$PRGNAM/demos $CWD/demos/ +for i in fatfree-url.zip fatfree-oop.zip fatfree-ini.zip fatfree-i18n.zip fatfree-blog.zip; do + wget -c http://sourceforge.net/projects/fatfree/files/$i/download -O $CWD/demos/$i + cp $CWD/demos/$i $PKG$PREFIX/doc/$PRGNAM/demos +done + ( cd $PKG mkdir -p install cat < install/slack-desc