nixpkgs/pkgs/applications/video/mythtv/builder.sh
Eelco Dolstra 1dcbda3398 * Set the QTDIR variable in a Qt setup hook.
svn path=/nixpkgs/trunk/; revision=2240
2005-02-15 17:44:45 +00:00

21 lines
297 B
Bash

. $stdenv/setup
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/
cp -p ./setup/setup $out/bin/mythsetup
}
genericBuild