wok-next diff electricsheep/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | f48456621a9d |
children |
line diff
1.1 --- a/electricsheep/receipt Tue Oct 16 16:46:05 2018 +0300 1.2 +++ b/electricsheep/receipt Fri Nov 02 14:15:08 2018 +0200 1.3 @@ -4,19 +4,18 @@ 1.4 VERSION="2.7b12" 1.5 CATEGORY="graphics" 1.6 SHORT_DESC="Distributed screen-saver that renders morphing abstract animations" 1.7 -MAINTAINER="gokhlayeh@slitaz.org" 1.8 +MAINTAINER="devel@slitaz.org" 1.9 LICENSE="GPL2" 1.10 +WEB_SITE="https://electricsheep.org/" 1.11 + 1.12 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.13 -WEB_SITE="http://community.electricsheep.org/" 1.14 WGET_URL="http://147.52.159.12/mirrors/ftp.kernel.org/pub/dist/vectorlinux/VL64-7.0/sourceAbs/$PACKAGE/$TARBALL" 1.15 1.16 -DEPENDS="curl expat flam3 ffmpeg mplayer libglade gtk2" 1.17 BUILD_DEPENDS="curl-dev expat-dev ffmpeg-dev libglade-dev gtk2-dev flam3-dev" 1.18 1.19 -# Rules to configure and make the package. 1.20 -compile_rules() 1.21 -{ 1.22 - sed -i -e 's/CODEC_TYPE_VIDEO/AVMEDIA_TYPE_VIDEO/' \ 1.23 +compile_rules() { 1.24 + sed \ 1.25 + -e 's/CODEC_TYPE_VIDEO/AVMEDIA_TYPE_VIDEO/' \ 1.26 -e 's/guess_format/av_guess_format/' \ 1.27 -e 's/PKT_FLAG_KEY/AV_PKT_FLAG_KEY/' \ 1.28 -e '/stream_copy/d' -e '/av_set_parameters/d' \ 1.29 @@ -29,24 +28,26 @@ 1.30 -e 's/av_close_input_file(/avformat_close_input(\&/' \ 1.31 -e 's/av_find_stream_info(ictx/avformat_find_stream_info(ictx,NULL/' \ 1.32 -e '/av_destruct_packet/d' \ 1.33 - electricsheep.c 1.34 - mkdir -p $DESTDIR/usr/share/gconf/defaults 1.35 - sed -i -e '/update-gconf-defaults/d' \ 1.36 + -i electricsheep.c 1.37 + mkdir -p $install/usr/share/gconf/defaults 1.38 + sed \ 1.39 + -e '/update-gconf-defaults/d' \ 1.40 -e 's|/usr/share/gconf/defaults|$(DESTDIR)&|' \ 1.41 -e '/GNOME_SCREENSAVER/d' \ 1.42 - Makefile* 1.43 + -i Makefile* 1.44 + 1.45 ./configure \ 1.46 --prefix=/usr \ 1.47 --infodir=/usr/share/info \ 1.48 --mandir=/usr/share/man \ 1.49 $CONFIGURE_ARGS && 1.50 - make $MAKEFLAGS && make DESTDIR=$DESTDIR install 1.51 + make $MAKEFLAGS && 1.52 + make DESTDIR=$install install 1.53 } 1.54 1.55 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.56 -genpkg_rules() 1.57 -{ 1.58 +genpkg_rules() { 1.59 cp -a $install/* $fs/ 1.60 rm -r $fs/usr/share/man 1.61 rm $fs/usr/share/electricsheep/electricsheep-wait.avi 1.62 + DEPENDS="curl expat flam3 ffmpeg mplayer libglade gtk2" 1.63 }