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

13 lines
228 B
Bash
Raw Normal View History

#! /bin/sh
export NIX_LDFLAGS=-Wl,-s
. $stdenv/setup || exit 1
tar xvfz $src || exit 1
cd aterm-* || exit 1
./configure --prefix=$out --with-gcc || exit 1
make || exit 1
make install || exit 1
strip -S $out/lib/*.a || exit 1