nixpkgs-suyu/pkgs/swig/swig-build.sh

12 lines
186 B
Bash
Raw Normal View History

#! /bin/sh
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd SWIG-* || exit 1
./configure --prefix=$out || exit 1
gmake || exit 1
gmake install || exit 1