| Portage-Conf-Packages documentation | view source | Contained in the Portage-Conf-Packages distribution. |
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
Validates a package with eix. $epack->validatePackage("net-im/skype");
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.
| Portage-Conf-Packages documentation | view source | Contained in the Portage-Conf-Packages distribution. |