nixpkgs/pkgs/libIDL/libIDL-build.sh
Eelco Dolstra ce22795c1c * libIDL requires flex, which requires bison, which requires m4...
svn path=/nixpkgs/trunk/; revision=339
2003-08-22 13:39:36 +00:00

15 lines
299 B
Bash
Executable File

#! /bin/sh
envpkgs="$glib"
. $stdenv/setup || exit 1
export PATH=$pkgconfig/bin:$lex/bin:$yacc/bin:$PATH
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