* Renamed pkgs-ng to pkgs.
svn path=/nixpkgs/trunk/; revision=502
This commit is contained in:
16
pkgs/development/libraries/openssl/builder.sh
Executable file
16
pkgs/development/libraries/openssl/builder.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#! /bin/sh
|
||||
|
||||
. $stdenv/setup || exit 1
|
||||
export PATH=$perl/bin:$PATH
|
||||
|
||||
tar xvfz $src || exit 1
|
||||
cd openssl-* || exit 1
|
||||
./config --prefix=$out shared || exit 1
|
||||
make || exit 1
|
||||
mkdir $out || exit 1
|
||||
make install || exit 1
|
||||
|
||||
# Bug fix: openssl does a `chmod 644' on the pkgconfig directory.
|
||||
chmod 755 $out/lib/pkgconfig || exit 1
|
||||
|
||||
echo $envpkgs > $out/envpkgs || exit 1
|
||||
11
pkgs/development/libraries/openssl/default.fix
Normal file
11
pkgs/development/libraries/openssl/default.fix
Normal file
@@ -0,0 +1,11 @@
|
||||
{stdenv, fetchurl, perl}: derivation {
|
||||
name = "openssl-0.9.7c";
|
||||
system = stdenv.system;
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = http://www.openssl.org/source/openssl-0.9.7c.tar.gz;
|
||||
md5 = "c54fb36218adaaaba01ef733cd88c8ec";
|
||||
};
|
||||
stdenv = stdenv;
|
||||
perl = perl;
|
||||
}
|
||||
Reference in New Issue
Block a user