nixpkgs/pkgs/openssl/openssl-build.sh
Eelco Dolstra 5da5a72830 * OpenSSL's rpath should include itself.
svn path=/nixpkgs/trunk/; revision=258
2003-08-06 11:30:45 +00:00

18 lines
284 B
Bash
Executable File

#! /bin/sh
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup || exit 1
envpkgs=""
. $setenv || exit 1
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
echo $envpkgs > $out/envpkgs || exit 1