forked from chregu/build-entropy-php
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/5_6_yosemite' into 7_0_yosemite
* origin/5_6_yosemite: fixes regarding cert support add iodbc support
- Loading branch information
Showing
4 changed files
with
70 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
package Package::libiodbc; | ||
|
||
use strict; | ||
use warnings; | ||
|
||
use base qw(Package); | ||
|
||
our $VERSION = '3.52.12'; | ||
|
||
|
||
sub dependency_names { | ||
return qw(); | ||
} | ||
|
||
|
||
|
||
sub base_url { | ||
#return "ftp://fr.rpmfind.net/pub/libxml"; | ||
return "https://github.com/openlink/iODBC/releases/download/v$VERSION"; | ||
} | ||
|
||
|
||
sub packagename { | ||
return "libiodbc-" . $VERSION; | ||
} | ||
|
||
|
||
sub configure_flags { | ||
my $self = shift @_; | ||
my $prefix = $self->config()->prefix(); | ||
return $self->SUPER::configure_flags() . ""; | ||
} | ||
|
||
|
||
sub subpath_for_check { | ||
return "lib/libodbc.a"; | ||
} | ||
|
||
|
||
sub php_extension_configure_flags { | ||
my $self = shift @_; | ||
my (%args) = @_; | ||
return "--with-libxml-dir=" . $self->config()->prefix(); | ||
} | ||
|
||
sub make_flags { | ||
my $self = shift @_; | ||
return ""; | ||
} | ||
|
||
|
||
|
||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters