25 lines
261 B
Bash
25 lines
261 B
Bash
|
#! /bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
export NIX_LDFLAGS=-Wl,-s
|
||
|
|
||
|
. $stdenv/setup
|
||
|
|
||
|
export PATH=$autoxt/bin:$PATH
|
||
|
|
||
|
echo "out: $out"
|
||
|
echo "pwd: `pwd`"
|
||
|
echo "src: $src"
|
||
|
ls $src
|
||
|
|
||
|
cp -r $src srts
|
||
|
ls
|
||
|
|
||
|
cd srts
|
||
|
./bootstrap
|
||
|
./configure --prefix=$out --with-aterm=$aterm
|
||
|
make
|
||
|
make install
|
||
|
|