blob: e6fdf25d4b1c5a3cf2eba9293e955c4591f3decb (
plain)
1 # Description: Linux GLX port of the Really Slick Screensavers.
2 # URL: http://rss-glx.sourceforge.net/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: imagemagick-compat xscreensaver
5
6 name=rss-glx
7 version=0.9.1
8 release=4
9 source=(http://downloads.sourceforge.net/project/$name/$name/$version/${name}_$version.tar.bz2)
10
11 build() {
12 cd ${name}_$version
13
14 PKG_CONFIG_PATH="/usr/lib/imagemagick-compat/pkgconfig" \
15 CONFIG_SHELL=/bin/bash \
16 ./configure \
17 --prefix=/usr \
18 --with-configdir=/usr/share/xscreensaver/config \
19 --disable-sound \
20 --disable-static \
21 --enable-shared
22
23 CFLAGS="$CFLAGS -I/usr/include/ImageMagick-6" make
24 make DESTDIR=$PKG install
25 install -d $PKG/usr/lib/xscreensaver $PKG/usr/sbin
26 mv $PKG/usr/bin/rss-glx_install.pl $PKG/usr/sbin/rss-glx_install
27
28 (
29 cd $PKG/usr/lib/xscreensaver
30 for i in $PKG/usr/bin/*; do
31 ln -s /usr/bin/$(basename $i)
32 done
33 )
34 }
|