Portage::Conf::Packages - Function collection for the Gentoo Portage package files.
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"] ); }
This Module is able to modifie your /etc/portage/package.* files
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"] );
Please report to https://opensvn.csie.org/traccgi/epackageuse
Tristan Leo filecorpse::at::gmail.com
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.
To install Portage::Conf::Packages, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Portage::Conf::Packages
CPAN shell
perl -MCPAN -e shell install Portage::Conf::Packages
For more information on module installation, please visit the detailed CPAN module installation guide.