Following is a first ebuild for xplanet. It is currently running as my background wallpaper, and looking marvelous. I'm not sure if i got all of the use variables right, so any changes are welcome. I think that it could be put in the app-misc which is where xscreensaver is located. xplanet-0.93.ebuild #P= S=${WORKDIR}/${P} DESCRIPTION="A program to render images of the earth into the X root window" SRC_URI="http://prdownloads.sourceforge.net/xplanet/${P}.tar.gz" HOMEPAGE="http://xplanet.sourceforge.net/" DEPEND="virtual/x11" src_compile() { local myconf if [ "`use opengl`" ] then myconf="--with-gl --with-glut --with-animation" else myconf="--with-gl=no --with-glut=no --with-animation=no" fi if [ "`use gif`" ] then myconf="$myconf --with-gif" else myconf="$myconf --with-gif=no" fi if [ "`use X`" ] then myconf="$myconf --with-x" else myconf="$myconf --with-x=no" fi ./configure --prefix=/usr --with-freetype=no $myconf || die emake || die } src_install () { make install || die }
ok, after jimmy-ing with that previous ebuild, i already noticed a couple of errors. here's my new an improved version. I would attatch it properly, but i'm seeming to have problems with that right now. The changes in this version are, using the proper install format, and disabling parallel building. -Kalen S=${WORKDIR}/${P} DESCRIPTION="A program to render images of the earth into the X root window" SRC_URI="http://prdownloads.sourceforge.net/xplanet/${P}.tar.gz" HOMEPAGE="http://xplanet.sourceforge.net/" DEPEND="virtual/x11" src_compile() { local myconf local mymake if [ "`use opengl`" ] then myconf="--with-gl --with-glut --with-animation" else myconf="--with-gl=no --with-glut=no --with-animation=no" fi if [ "`use gif`" ] then myconf="$myconf --with-gif" else myconf="$myconf --with-gif=no" fi if [ "`use X`" ] then myconf="$myconf --with-x" else myconf="$myconf --with-x=no" fi ./configure --prefix=/usr --with-freetype=no $myconf || die # xplanet doesn't like to build parallel # This fix taken from the gimp ebuild make ${mymake} || die } src_install () { make prefix=${D} install || die }
Commited into CVS as x11-misc/xplanet. Thank you for the ebuild!