summaryrefslogtreecommitdiffstats
path: root/base/splashy/Pkgfile
blob: 9b36a3f687cc6d1f50b82b7294d4da0a39c87878 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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
}