PEAR_PackageFileManager2 specifying install exceptions for certain files

From: Date: Mon, 12 Feb 2007 16:44:30 +0000
Subject: PEAR_PackageFileManager2 specifying install exceptions for certain files
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-45640@lists.php.net to get a copy of this message
Hi, folks I'm new to this list and not really sure if this question should go here(please correct me if so) but i couldn't find a better place :( What i want to achieve is to specify different baseinstalldir for certain files with PEAR_PackageFileManager2. What is the best way to achieve this? Say i have the following package layout in my repository: Foo `--bin `--some_cli_script `--src `-... All files in 'src' should be installed as is, while "bin/some_cli_script" should be installed as @php_dir@/some_cli_script. I'm pretty sure it all has something to do with 'installexceptions' property for PEAR_PackageFileManager2 :: setOptions(...) but i couldn't find any examples how to achieve that(actually i found something in API doc for this class but i don't quite understand what's going on there). Thanks in advance! -- Best regards, Pavel -- LIMB - http://limb-project.com Bureau of Information Technologies - http://www.bit-creative.com

« previous php.pear.dev (#45640) next »