summaryrefslogtreecommitdiffstats
path: root/abs/core/mythtv/stable/mythsmolt/PKGBUILD
blob: 25c91cf731d4808d18514f06aa167014bb1a9c49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
pkgname=mythsmolt
pkgver=0.21
pkgrel=8
pkgdesc="mythsmolt, a hardware profileing tool"
arch=('i686' 'x86_64')
url="http://www.mythvantage.com"
license=('GPL')
depends=("mythtv>=${pkgver}" urlgrabber)
source=("http://www.mythvantage.com/request.php?4")

groups=('mythtv-extras')

build() {
   cd $startdir/src/mythsmolt_src/mythsmolt
   . /etc/profile.d/qt3.sh
   
   # use QT3 qmake
   export PATH=$QTDIR/bin:$PATH
   echo "INCLUDEPATH += /usr/include/mythtv" >> mythsmolt.pro.usr

   qmake mythsmolt.pro.usr
   make qmake || return 1
   make -j 2 || return 1

   make INSTALL_ROOT=$startdir/pkg install
}