summaryrefslogtreecommitdiffstats
path: root/base/nanoblogger/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2009-12-18 19:33:38 +0100
committertnut <thierryn1 at hispeed dot ch>2009-12-18 19:33:38 +0100
commitca8551c30092bf884c105ebfd287dce35e2ceecb (patch)
tree804ba81665cfa064a4062419f88b35539a1ce37c /base/nanoblogger/Pkgfile
parent9de538438171924e7c6473253688f7c53abdb552 (diff)
downloadnutyx-extra-ca8551c30092bf884c105ebfd287dce35e2ceecb.tar.gz
nutyx-extra-ca8551c30092bf884c105ebfd287dce35e2ceecb.tar.bz2
nutyx-extra-ca8551c30092bf884c105ebfd287dce35e2ceecb.tar.xz
nutyx-extra-ca8551c30092bf884c105ebfd287dce35e2ceecb.zip
nanoblogger, déplacé dans base
Diffstat (limited to 'base/nanoblogger/Pkgfile')
-rw-r--r--base/nanoblogger/Pkgfile26
1 files changed, 26 insertions, 0 deletions
diff --git a/base/nanoblogger/Pkgfile b/base/nanoblogger/Pkgfile
new file mode 100644
index 000000000..543ed07b8
--- /dev/null
+++ b/base/nanoblogger/Pkgfile
@@ -0,0 +1,26 @@
+# Description: Nanoblogger est un moteur de blog écrit en BASH. Il s'utilise en ligne de commande
+# URL: http://sourceforge.net/projects/nanoblogger/
+# Maintainer: Blankoworld
+# Packager: blankoworld at wanadoo dot fr
+# Depends on:
+
+name=nanoblogger
+version=3.4
+release=1
+group=app
+source=( http://nanoblogger.sourceforge.net/downloads/$name-$version.tar.gz \
+http://nanoblogger.sourceforge.net/downloads/$name-extra-$version.tar.gz \
+nb.conf \
+nb)
+
+build() {
+ cd $name-$version
+ cp -r $SRC/$name-extra-$version/* $SRC/$name-$version/
+ install -d $PKG/usr/share/$name/
+ cp -Rp $SRC/$name-$version/* $PKG/usr/share/$name/
+ cp -p ../nb.conf $PKG/usr/share/$name/nb.conf
+ install -d $PKG/usr/bin/
+ cp -p ../nb $PKG/usr/bin/nb
+ chown -R root:root $PKG
+}
+