3f6b9a05b0
svn path=/nixpkgs/trunk/; revision=279
19 lines
328 B
Bash
Executable file
19 lines
328 B
Bash
Executable file
#! /bin/sh
|
|
|
|
export NIX_LDFLAGS=-Wl,-s
|
|
|
|
. $stdenv/setup || exit 1
|
|
|
|
export PATH=$pkgconfig/bin:$PATH
|
|
envpkgs="$glib"
|
|
. $setenv || exit 1
|
|
|
|
tar xvfj $src || exit 1
|
|
cd libIDL-* || exit 1
|
|
./configure --prefix=$out || exit 1
|
|
make || exit 1
|
|
make install || exit 1
|
|
strip -S $out/lib/*.a || exit 1
|
|
|
|
echo $envpkgs > $out/envpkgs || exit 1
|