19 lines
328 B
Bash
19 lines
328 B
Bash
|
#! /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
|