Google Code-In 2014
Task Preview
Ebuilds: Intro to Ebuilds 2Copyleft Games Group
STATUS: DRAFT

Ebuilds are recipes for downloading, configuring, building, and installing software on Gentoo-based distributions (eg, ChromeOS and Sprout). With extensive documentation and thousands of examples in Gentoo's Portage tree, writing your first ebuild may feel intimidating, but you'll quickly learn its pretty easy (and sometimes even fun).

To begin this task, you will need a working Portage system. If you don't already have this, the easiest way is to download and boot Sprout on a USB stick or on a Raspberry Pi. You may also request remote shell access to a Raspberry Pi or Virtual Machine from a mentor. If you're feeling adventurous, you may even install Gentoo Linux or Gentoo Prefix on OSX or Windows.

Your task is to write an ebuild to install a one-line /etc/env.d file which adds "/usr/local/lib/pkgconfig" to PKG_CONFIG_PATH (see /etc/env.d for examples).

While working on this task you should join and remain in #CopyleftGames on Freenode to get help, feedback, and guidance from mentors and other developers.

When you've done, post your ebuild to this task.