Changeset 891 in ProjectBuilder for devel/pb-modules
- Timestamp:
- Oct 28, 2009, 10:25:19 AM (15 years ago)
- Location:
- devel/pb-modules
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-modules/etc/pb.conf
r867 r891 191 191 osupd md = sudo urpmi.update -a ; sudo urpmi --auto 192 192 osupd novell = export TERM=linux ; export PATH=\$PATH:/sbin:/usr/sbin ; sudo yast2 -i 193 osupd sol = sudo pkgadd -d 193 194 194 195 # From the most generic to the most specialized, in term of granularity, … … 215 216 osremovedotinver mandrake = true 216 217 osremovedotinver redhat = true 218 219 # pb install dependencies per distro 220 # osperldep gives perl file dependecies to get from CPAN 221 # ospkgdep gives distribution package dependencies 222 # 223 # Asianux 224 osperldep asianux = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 225 ospkgdep asianux = wget,make,perl-Date-Manip,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp 226 # Fedora 227 osperldep fedora-4 = Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 228 ospkgdep fedora-4 = wget,make,perl-Date-Manip,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp 229 osperldep fedora = 230 ospkgdep fedora = wget,make,perl-Date-Manip,perl-ExtUtils-MakeMaker,rpm-build,patch,ntp,perl-File-MimeInfo,perl-Mail-Sendmail 231 # Slack 232 osperldep tgz = Date-Manip,Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 233 ospkgdep tgz = wget,make,ntp,patch 234 # Old RedHat 235 osperldep redhat = Date-Manip,Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 236 ospkgdep redhat = wget,make,ntp,patch 237 # Old SuSE 238 osperldep opensuse-10.0 = Date-Manip,Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 239 ospkgdep opensuse-10.0 = wget,make,ntp,patch 240 osperldep opensuse-10.1 = Date-Manip,Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 241 ospkgdep opensuse-10.1 = wget,make,ntp,patch 242 osperldep suse = Date-Manip,Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 243 ospkgdep suse = wget,make,ntp,patch 244 # New OpenSuSE 245 ospkgdep opensuse-10.2 = wget,make,ntp,patch 246 ospkgdep opensuse-10.3 = wget,make,ntp,patch 247 osperldep opensuse = Module-Build,File-MimeInfo,File-BaseDir 248 ospkgdep opensuse = wget,make,sntp,patch,perl-Date-Manip,perl-File-HomeDir,perl-Mail-Sendmail 249 # Mdv 250 osperldep mandrake-10.1 = Date-Manip 251 ospkgdep mandrake-10.1 = rpm-build,wget,patch,make,ntp-client,perl-File-MimeInfo,perl-Mail-Sendmail 252 osperldep md = 253 ospkgdep md = rpm-build,wget,patch,make,ntp-client,perl-File-MimeInfo,perl-Mail-Sendmail,perl-Date-Manip 254 # Debian 255 osperldep debian-3.1 = File-MimeInfo,File-BaseDir 256 ospkgdep debian-3.1 = wget,patch,dpkg-dev,make,debian-builder,dh-make,fakeroot,ntpdate,libmodule-build-perl,libdate-manip-perl,libmail-sendmail-perl 257 osperldep deb = 258 ospkgdep deb = wget,patch,dpkg-dev,make,debian-builder,dh-make,fakeroot,ntpdate,libfile-mimeinfo-perl,libmodule-build-perl,libdate-manip-perl,libmail-sendmail-perl 259 # Gentoo 260 osperldep gen = 261 ospkgdep gen = wget,ntp,make,patch,DateManip,File-MimeInfo,Mail-Sendmail 262 # Solaris 263 osperldep pkg = Date-Manip,Module-Build,File-MimeInfo,File-BaseDir,Mail-Sendmail 264 ospkgdep pkg = wget,make 265 266 # Version of the perl module as found on CPAN 267 # http://search.cpan.org/CPAN/modules/by-module 268 osperlver Date-Manip = 5.54 269 osperlver Module-Build = 0.2808 270 osperlver File-MimeInfo = 0.15 271 osperlver File-BaseDir = 0.03 272 osperlver Mail-Sendmail = 0.79 -
devel/pb-modules/lib/ProjectBuilder/Conf.pm
r638 r891 25 25 26 26 # Global list of conf files 27 our@pbconffiles = ();27 my @pbconffiles = (); 28 28 29 29 =pod -
devel/pb-modules/lib/ProjectBuilder/Distribution.pm
r869 r891 23 23 24 24 our @ISA = qw(Exporter); 25 our @EXPORT = qw(pb_distro_ init pb_distro_get pb_distro_installdeps pb_distro_getdeps pb_distro_only_deps_needed pb_distro_setuprepo pb_distro_get_param);25 our @EXPORT = qw(pb_distro_conffile pb_distro_init pb_distro_get pb_distro_installdeps pb_distro_getdeps pb_distro_only_deps_needed pb_distro_setuprepo pb_distro_get_param); 26 26 27 27 =pod … … 60 60 =over 4 61 61 62 =item B<pb_distro_conffile> 63 64 This function returns the mandatory configuration file used for distribution/OS detection 65 66 =cut 67 68 sub pb_distro_conffile { 69 70 return("CCCC/pb.conf"); 71 } 72 73 74 =over 4 75 62 76 =item B<pb_distro_init> 63 77 … … 92 106 # the location of the conf file is finalyzed at install time 93 107 # depending whether we deal with package install or tar file install 94 pb_conf_add( "CCCC/pb.conf");108 pb_conf_add(pb_distro_conffile()); 95 109 96 110 # If we don't know which distribution we're on, then guess it
Note:
See TracChangeset
for help on using the changeset viewer.