Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
GF9: Custom ebuilds and keeping rsync from removing them
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions
View previous topic :: View next topic  
Author Message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20486

PostPosted: Wed May 14, 2003 3:15 am    Post subject: GF9: Custom ebuilds and keeping rsync from removing them Reply with quote

Navigation: [Gentoo Fundamentals] [Table of Contents]

How can I create custom ebuilds that portage will find and that don't get deleted when resyncing?

Add the line PORTDIR_OVERLAY=/usr/local/portage to /etc/make.conf and place your ebuilds there. Use the directory structure and folder names from the official portage directory in /usr/portage/ for your packages. That is, you should create a directory structure such as
Code:
$PORTDIR_OVERLAY/category/package/
and put your ebuild package-version.ebuild there. Portage will otherwise complain with a "not a valid PORTDIR heirarchy" [sic] error message. Once you're confident your ebuild script works, submit it for inclusion here.

2006-06-02: Directory structure updates. --kallamej
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Frequently Asked Questions All times are GMT
Page 1 of 1

 
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