nixpkgs/pkgs/applications/video/mythtv/builder.sh
Eelco Dolstra 9d48cb846b * MythTV 0.21.
svn path=/nixpkgs/trunk/; revision=12177
2008-06-23 09:01:04 +00:00

27 lines
426 B
Bash

source $stdenv/setup
# Hack - MythTV's configure searches LD_LIBRARY_PATH for its
# dependencies.
for i in $buildInputs; do
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH${LD_LIBRARY_PATH:+:}$i/lib
done
echo $LD_LIBRARY_PATH
buildPhase() {
qmake mythtv.pro
make
}
postInstall=postInstall
postInstall() {
sqlDir="$out/share/mythtv/sql"
ensureDir $sqlDir
cp -p ./database/mc.sql $sqlDir/
}
genericBuild