wok-next annotate electricsheep/receipt @ rev 10024
glibc: dont build with -Os and better use default CFLAGS also need --build and --host
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 19 18:19:46 2011 +0200 (2011-05-19) |
parents | c878b368c741 |
children | 8e4c74abdf74 |
rev | line source |
---|---|
gokhlayeh@6998 | 1 # SliTaz package receipt. |
gokhlayeh@6998 | 2 |
gokhlayeh@6998 | 3 PACKAGE="electricsheep" |
gokhlayeh@6998 | 4 VERSION="2.7b12" |
gokhlayeh@6998 | 5 CATEGORY="graphics" |
gokhlayeh@6998 | 6 SHORT_DESC="Distributed screen-saver that harnesses idle computers into a render farm with the purpose of animating and evolving artificial life-forms." |
gokhlayeh@7034 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
gokhlayeh@6998 | 8 DEPENDS="curl expat flam3 ffmpeg mplayer libglade gtk+" |
gokhlayeh@6998 | 9 BUILD_DEPENDS="curl-dev expat-dev ffmpeg-dev libglade-dev gtk+-dev flam3-dev" |
gokhlayeh@6998 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@6998 | 11 WEB_SITE="http://community.electricsheep.org/" |
gokhlayeh@6998 | 12 WGET_URL="ftp://ftp.archlinux.org/other/electricsheep/$TARBALL" |
gokhlayeh@6998 | 13 |
gokhlayeh@6998 | 14 # Rules to configure and make the package. |
gokhlayeh@6998 | 15 compile_rules() |
gokhlayeh@6998 | 16 { |
gokhlayeh@6998 | 17 cd $src |
gokhlayeh@6998 | 18 ./configure \ |
gokhlayeh@6998 | 19 --prefix=/usr \ |
gokhlayeh@6998 | 20 --infodir=/usr/share/info \ |
gokhlayeh@6998 | 21 --mandir=/usr/share/man \ |
gokhlayeh@6998 | 22 $CONFIGURE_ARGS && |
gokhlayeh@6998 | 23 make -j 4 && make DESTDIR=$PWD/_pkg install |
gokhlayeh@6998 | 24 } |
gokhlayeh@6998 | 25 |
gokhlayeh@6998 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@6998 | 27 genpkg_rules() |
gokhlayeh@6998 | 28 { |
gokhlayeh@6998 | 29 cp -a $_pkg/* $fs/ |
gokhlayeh@6998 | 30 rm -r $fs/usr/share/man |
gokhlayeh@6998 | 31 rm $fs/usr/share/electricsheep/electricsheep-wait.avi |
gokhlayeh@6998 | 32 } |
gokhlayeh@6998 | 33 |