2007-04-11 06:22:44 +10:00
|
|
|
# Description: A screen saver and locker daemon for xorg.
|
|
|
|
# URL: http://www.jwz.org/xscreensaver/
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2019-02-03 00:49:45 -06:00
|
|
|
# Depends on: bc fortune giflib glu libglade util-linux xorg-libxmu linux-pam
|
2007-04-11 06:22:44 +10:00
|
|
|
|
|
|
|
name=xscreensaver
|
2019-03-15 00:15:32 +11:00
|
|
|
version=5.42
|
2007-04-11 06:22:44 +10:00
|
|
|
release=1
|
2019-02-03 00:49:45 -06:00
|
|
|
source=(https://www.jwz.org/$name/$name-$version.tar.gz \
|
|
|
|
$name.pam)
|
2007-04-11 06:22:44 +10:00
|
|
|
|
|
|
|
build() {
|
2008-08-16 21:36:37 +10:00
|
|
|
cd $name-$version
|
2014-11-19 12:42:44 +11:00
|
|
|
|
2019-03-15 00:15:32 +11:00
|
|
|
sed -e's|-std=c89||' -i configure.in
|
|
|
|
autoreconf -fiv
|
2007-04-11 06:22:44 +10:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib \
|
2008-03-05 02:13:46 +11:00
|
|
|
--with-x-app-defaults='/etc/X11/app-defaults' \
|
2007-04-11 06:22:44 +10:00
|
|
|
--enable-locking \
|
2007-11-15 05:29:54 +11:00
|
|
|
--enable-root-passwd \
|
|
|
|
--with-dpms-ext \
|
|
|
|
--with-xinerama-ext \
|
|
|
|
--with-xshm-ext \
|
|
|
|
--with-proc-interrupts \
|
|
|
|
--with-shadow \
|
2007-07-19 11:51:54 +10:00
|
|
|
--with-pixbuf \
|
|
|
|
--with-jpeg \
|
2007-04-11 06:22:44 +10:00
|
|
|
--without-motif \
|
|
|
|
--without-gle \
|
|
|
|
--without-setuid-hacks
|
|
|
|
|
|
|
|
make
|
2007-11-15 05:29:54 +11:00
|
|
|
make install_prefix=$PKG install
|
2019-03-15 00:15:32 +11:00
|
|
|
|
2008-08-22 09:13:15 +10:00
|
|
|
install -d $PKG/usr/share/wallpapers
|
2019-02-03 00:49:45 -06:00
|
|
|
|
|
|
|
# PAM service file
|
|
|
|
install -D -m 0644 $SRC/$name.pam \
|
|
|
|
$PKG/etc/pam.d/$name
|
2019-03-15 00:15:32 +11:00
|
|
|
rm -r $PKG/usr/share/{locale,xscreensaver/config/README}
|
2007-04-11 06:22:44 +10:00
|
|
|
}
|