summaryrefslogtreecommitdiffstats
path: root/base/splashy/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-06-19 16:13:36 +0200
committertnut <thierryn1 at hispeed dot ch>2010-06-19 16:13:36 +0200
commitec43e6ea15555a22a007916a882f42e81e5128f6 (patch)
treeed753c32ab4232451de3d2f8671cb180edc9d5c8 /base/splashy/Pkgfile
parent93d786990c08e7fe6ad4dd18848b6ee8344509c1 (diff)
downloadnutyx-extra-ec43e6ea15555a22a007916a882f42e81e5128f6.tar.gz
nutyx-extra-ec43e6ea15555a22a007916a882f42e81e5128f6.tar.bz2
nutyx-extra-ec43e6ea15555a22a007916a882f42e81e5128f6.tar.xz
nutyx-extra-ec43e6ea15555a22a007916a882f42e81e5128f6.zip
Ajout splashy#0.3.13-1
Diffstat (limited to 'base/splashy/Pkgfile')
-rw-r--r--base/splashy/Pkgfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/base/splashy/Pkgfile b/base/splashy/Pkgfile
new file mode 100644
index 000000000..9b36a3f68
--- /dev/null
+++ b/base/splashy/Pkgfile
@@ -0,0 +1,31 @@
+# Description: Utilitaires pour produire des images lors du boot
+# URL: http://splashy.alioth.debian.org/wiki/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+
+name=splashy
+version=0.3.13
+release=1
+source=(http://alioth.debian.org/frs/download.php/2691/$name-$version.tar.gz\
+ splashy nutyx-attapu.jpg)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/usr \
+ --sbindir=/sbin --libdir=/usr/lib \
+ --includedir=/usr/include \
+ --datarootdir=/usr/share \
+ --sysconfdir=/etc
+ make
+ make DESTDIR=$PKG install
+ mkdir -p $PKG/etc/rc.d{,/rcsysinit.d}
+ mv $PKG/etc/{init.d,rc.d/}
+ cp ../splashy $PKG/etc/rc.d/init.d/
+ chmod 754 $PKG/etc/rc.d/init.d/splashy
+ ln -s ../init.d/splashy $PKG/etc/rc.d/rcsysinit.d/S00splashy
+ rm $PKG/etc/lsb-base-logging.sh
+ cp ../nutyx-attapu.jpg \
+ $PKG/usr/share/splashy/themes/default/background.jpg
+ sed -i "s/background.png/background.jpg/g" \
+ $PKG/usr/share/splashy/themes/default/theme.xml
+}