Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

WikipediaFS ebuild

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
Dana Merrick
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 84
Joined: Sat Jul 24, 2004 2:44 am
Location: Trinity College
Contact:
Contact Dana Merrick
Website

WikipediaFS ebuild

  • Quote

Post by Dana Merrick » Thu Jun 28, 2007 5:26 pm

Hello all,

I really like the idea of WikipediaFS, but it's not in Portage so I decided I'd try to make an ebuild for it.

I've never made one before, and I should be very clear that as of writing the following DOES NOT WORK, but I figured you guys would want to get your hands on at least the beginning of it and maybe turn it into a working one.

I don't use any of the pretty scripts like "econf" or "einfo," and probably should.

This is my first ebuild, so please give me (nice) pointers!

Code: Select all

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A program to mount WikipediaFS, a filesystem that allows to view and edit Wikipedia articles as if they were real files."
HOMEPAGE="http://wikipediafs.sourceforge.net/"
SRC_URI="http://umn.dl.sourceforge.net/sourceforge/wikipediafs/wikipediafs-0.3.tar.gz"
# I've seen something with "mirror://sourceforge/..." before. I assume I should be using something like that.

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="sys-fs/fuse"
RDEPEND="sys-fs/fuse-python"

src_unpack()
{
    # This stuff was taken from http://gentoo-wiki.com/HOWTO_Write_Ebuilds
    # Is it needed?
    mkdir -p ${S}
    cp ${FILESDIR}/wikipediafs-0.3.tar.gz ${S}
    gzip -d ${S}/wikipediafs-0.3.tar.gz
}

src_compile()
{
    # This is the command you use to install it outside of Portage.
    # I'm not sure this goes here.
    # Does Portage install this stuff into a separate dir and then the
    # src_install function should move it over?
    python ${S}/wikipediafs-0.3/setup.py install || die "Setup failed."
}

src_install()
{
    # Does the above command go here?
    dodoc README NEWS Changelog AUTHORS HACKING
}
I'm proud of my life, and the things that I have done,
proud of myself, and the loner I've become.
you're free to whine; it will not get you far,
I do just fine, my car and my guitar.
-Say Anything
Top
Post Reply
1 post • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic