contrib/xscreensaver/Pkgfile

45 lines
1.0 KiB
Plaintext
Raw Normal View History

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