NAME

Portage::Conf::Packages - Function collection for the Gentoo Portage package files.

SYNOPSIS

use Portage::Conf::Packages;
$mod = Portage::Conf::Packages->new(UsePath => './package.use');
if ($mod->validatePackage("net-im/skype")) {
	$mod->Use(
		"net-im/skype" => ["-arts", "oss", "dbus"]
	);
}

DESCRIPTION

This Module is able to modifie your /etc/portage/package.* files

METHODS

Discription of the Methods

  • validatePackage

    Validates a package with eix. $epack->validatePackage("net-im/skype");

  • Use

    Edit or add the useflags for given packages and flags $mod->Use( "net-im/skype" => ["-arts", "oss", "dbus"] );

BUGS

Please report to https://opensvn.csie.org/traccgi/epackageuse

AUTHOR

Tristan Leo filecorpse::at::gmail.com

COPYRIGHT

Copyright (c) 2006 Tristan Leo All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.