Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Courte échelle] Ebuilds : Un effort commun d'enrichissement
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
PabOu
Veteran
Veteran


Joined: 11 Feb 2004
Posts: 1073
Location: Hélécine - Belgium

PostPosted: Tue Apr 11, 2006 9:25 am    Post subject: Reply with quote

j'approuve également l'idée, et également celle d'un overlay "french-forums".

Par contre pour l'idée d'un tread sticky reprenant les liens vers d'autres posts, c'est un peu galère pour utiliser les fonctions de recherche.
_________________
Mangez du poulet !
Back to top
View user's profile Send private message
BuBuaBu
l33t
l33t


Joined: 09 Jul 2005
Posts: 898
Location: France

PostPosted: Tue Apr 11, 2006 8:17 pm    Post subject: Reply with quote

Il y a peu de temps j'avais commencer un ebuild pour supertux en svn.
Donc voila le résultat.

Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
 
inherit subversion eutils games

ESVN_REPO_URI="svn://svn.berlios.de/supertux/trunk"
ESVN_PROJECT="supertux"
ESVN_BOOTSTRAP="cd ./supertux; ./autogen.sh"

DESCRIPTION="A game similar to Super Mario Bros."
HOMEPAGE="http://supertux.berlios.de/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="opengl"

RDEPEND=">=media-libs/libsdl-1.2.4
   >=media-libs/sdl-image-1.2.2
   >=media-libs/sdl-mixer-1.2.5
   sys-libs/zlib
   dev-games/physfs"
DEPEND="${RDEPEND}
   || ( x11-libs/libXt virtual/x11 )"

pkg_setup() {
   if ! built_with_use media-libs/sdl-mixer mikmod ; then
      die "Please emerge sdl-mixer with USE=mikmod"
   fi
   games_pkg_setup
}

src_unpack() {
   subversion_src_unpack
   # We need to create the ChangeLog here
   TZ=UTC svn log -v "${ESVN_REPO_URI}" >ChangeLog
   if use !opengl
   then
      epatch ${S}/supertux/contrib/supertux-nogl.diff
   fi
}

src_compile() {
   cd ${S}/supertux
   egamesconf \
      --disable-dependency-tracking \
      --disable-debug \
      || die
   jam || die "emake failed"
}

src_install() {
   jam DESTDIR="${D}" \
      desktopdir=/usr/share/applications \
      icondir=/usr/share/pixmaps \
      install || die "make install failed"
   dodoc AUTHORS ChangeLog LEVELDESIGN README TODO
   prepgamesdirs
}


Voila, si ca pas a sa place, ce fera du boulot pour les modo (désolé) :D
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum