Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Help With Ebuild(webapp)

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
Shiner_Man
Apprentice
Apprentice
User avatar
Posts: 180
Joined: Tue Mar 09, 2004 10:57 pm
Contact:
Contact Shiner_Man
Website

Help With Ebuild(webapp)

  • Quote

Post by Shiner_Man » Thu May 05, 2005 11:45 am

I'm trying to write an ebuild for jinzora. I used the phpBB ebuild as a guide to create this one. I understand the layout of ebuilds in general but I'm having trouble wrapping my head around the webapp eclass. The only documentation I could find on it was the webapp.eclass file itself which is a little tough to read. Anyway, this is what I have so far for the ebuild:

Code: Select all

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

inherit webapp

DESCRIPTION=" Jinzora is a web based media streaming and management system,
designed to stream audio and video files to any internet connected computer -
anytime, anywhere."
HOMEPAGE="http://www.jinzora.org/"
SRC_URI="mirror://sourceforge/${PN}/j2.0.1.tar.gz"
IUSE=""
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86 ppc ~sparc ~alpha ~amd64"

RDEPEND=">=dev-php/mod_php-4.1
                >=dev-db/mysql-3.23.23"

DEPEND=">=net-www/webapp-config-1.10-r5"

S=${WORKDIR}/${PN}2

src_install() {
        webapp_src_preinst

        einfo "Installing files"
        #dodoc ${S}/docs/*
        #rm -rf ${S}/docs/

        cp -r * "${D}/${MY_HTDOCSDIR}"
        einfo "Finished Copying"
        
        webapp_serverowned ${MY_HTDOCSDIR}
        
        #webapp_postinst_txt en ${FILESDIR}/INSTALL.txt

        webapp_src_install
}
The stuff I commented out is the stuff I don't understand. This ebuild somewhat works. It merges everything to /usr/share/webapps but does not copy the files over to MY_HTDOCSDIR.

Can anybody point me towards some webapp documentation?

Thanks in advance.
My Site
Top
Post Reply
1 post • Page 1 of 1

Return to “Portage & Programming”

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