odpic: 2.3.2 -> 2.4.0
This commit is contained in:
parent
fca22a6078
commit
975874311a
@ -2,11 +2,11 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "odpic-${version}";
|
name = "odpic-${version}";
|
||||||
version = "2.3.2";
|
version = "2.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://github.com/oracle/odpi/archive/v${version}.tar.gz";
|
url = "https://github.com/oracle/odpi/archive/v${version}.tar.gz";
|
||||||
sha256 = "0a52vqy3c27hmcia4x4vhs6z0ha27xkw7fvfa17f7kxs5w84ll07";
|
sha256 = "1z793mg8hmy067xhllip7ca84xy07ca1cqilnr35mbvhmydp03zz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libaio oracle-instantclient ];
|
buildInputs = [ libaio oracle-instantclient ];
|
||||||
@ -15,14 +15,10 @@ stdenv.mkDerivation rec {
|
|||||||
[ oracle-instantclient ];
|
[ oracle-instantclient ];
|
||||||
|
|
||||||
dontPatchELF = true;
|
dontPatchELF = true;
|
||||||
installPhase = ''
|
makeFlags = [ "PREFIX=$(out)" ];
|
||||||
mkdir -p $out/lib
|
|
||||||
mkdir $out/include
|
|
||||||
|
|
||||||
cp lib/* $out/lib/
|
postFixup = ''
|
||||||
cp include/* $out/include/
|
patchelf --set-rpath "${libPath}" $out/lib/libodpic${stdenv.hostPlatform.extensions.sharedLibrary}
|
||||||
|
|
||||||
patchelf --set-rpath "${libPath}" $out/lib/libodpic.so
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user