summaryrefslogtreecommitdiffstats
path: root/xscreensaver/Pkgfile
blob: d200cea0d18361ee18d94d52256daa3e2abca0ba (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
32
33
34
35
36
37
38
39
40
41
# Description: Gestionnaire sauvegarde d'écrans 
# URL: http://www.jwz.org/xscreensaver/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: linux-pam, mesa3d, bc, libglade, xorg-libxmu, xorg-libxt
# Run on: linux-pam,mesa3d,bc,libglade

name=xscreensaver
version=5.15
release=2
source=(http://www.jwz.org/xscreensaver/$name-$version.tar.gz
	xscreensaver.pam)

build() {
	cd $name-$version
	./configure --prefix=/usr \
		--libexecdir=/usr/lib \
		--enable-root-passwd \
		--with-browser=xdg-open \
		--with-dpms-ext \
		--with-xinerama-ext \
		--with-xf86vmode-ext \
		--with-xf86gamma-ext \
		--with-randr-ext \
		--with-proc-interrupts \
		--with-login-manager \
		--with-pixbuf \
		--with-xpm \
		--with-jpeg \
		--with-xshm-ext \
		--with-xdbe-ext \
		--with-gtk \
		--without-motif \
		--with-pam \
		--with-gl \
		--with-image-directory=/usr/share/wallpapers
	make
	make install_prefix=$PKG install
	chmod 755 $PKG/usr/bin/xscreensaver
	install -D -m644 ../xscreensaver.pam $PKG/etc/pam.d/xscreensaver
}