nixpkgs-suyu/pkgs/libIDL/libIDL-build.sh
Eelco Dolstra 3f6b9a05b0 * Added libIDL (which is used by Mozilla).
svn path=/nixpkgs/trunk/; revision=279
2003-08-13 17:29:18 +00:00

18 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