1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 06:01:15 +00:00
nixpkgs/pkgs/desktops/superkaramba/builder.sh

17 lines
494 B
Bash
Executable file

source $stdenv/setup
echo $xlibs2
echo $x_libraries_env
postConfigure=postConfigure
postConfigure() {
pwd;
ls -l super*/src/Makefile;
x_libraries_env_s=$(echo $x_libraries_env | sed 's/\//\\\//g')
sed -e "s/x_libraries = \/usr\/lib/x_libraries = $x_libraries_env_s/" -i super*/src/Makefile;
sed -e "s/x_libraries = \/usr\/lib/x_libraries = $x_libraries_env_s/" -i super*/Makefile;
sed -e "s/x_libraries = \/usr\/lib/x_libraries = $x_libraries_env_s/" -i Makefile;
}
genericBuild