mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-27 08:04:14 +00:00
ea24b2f641
svn path=/nixpkgs/trunk/; revision=6519
28 lines
462 B
Bash
28 lines
462 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=myBuilder
|
|
myBuilder() {
|
|
qmake mythtv.pro || fail
|
|
make || fail
|
|
}
|
|
|
|
|
|
postInstall=postInstall
|
|
postInstall() {
|
|
sqlDir="$out/share/mythtv/sql"
|
|
ensureDir $sqlDir
|
|
cp -p ./database/mc.sql $sqlDir/
|
|
}
|
|
|
|
|
|
genericBuild
|