diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-23 21:12:43 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-08-23 21:12:43 +0200 |
commit | d819b4da5cabf971e0d439973cd26f2fefbcea00 (patch) | |
tree | 758af9092a99a38ed75b876302acf1564f282b22 /kde/qtscriptgenerator/Pkgfile | |
parent | 20bd16a152198d8637839124410925fd16b720c4 (diff) | |
download | nutyx-pakxe-d819b4da5cabf971e0d439973cd26f2fefbcea00.tar.gz nutyx-pakxe-d819b4da5cabf971e0d439973cd26f2fefbcea00.tar.bz2 nutyx-pakxe-d819b4da5cabf971e0d439973cd26f2fefbcea00.tar.xz nutyx-pakxe-d819b4da5cabf971e0d439973cd26f2fefbcea00.zip |
Ajout de qtscriptgenerator#0.1.0-1
Diffstat (limited to 'kde/qtscriptgenerator/Pkgfile')
-rw-r--r-- | kde/qtscriptgenerator/Pkgfile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/kde/qtscriptgenerator/Pkgfile b/kde/qtscriptgenerator/Pkgfile new file mode 100644 index 000000000..9f3158f2c --- /dev/null +++ b/kde/qtscriptgenerator/Pkgfile @@ -0,0 +1,28 @@ +# Description:Outil pour générer Qt binding pour Qt script +# URL:http://code.google.com/p/qtscriptgenerator/ +# Maintainer: NuTyX packager team +# Packager: lesibel at free dot fr +# Depends on: qt +name=qtscriptgenerator +version=0.1.0 +release=1 +group=travail + +source=(http://$name.googlecode.com/files/$name-src-$version.tar.gz \ + qtscriptgenerator.gcc-4.4.patch) + +build() { + cd $name-src-$version/generator + # prepare plugins + patch -Np1 -i $SRC/qtscriptgenerator.gcc-4.4.patch + qmake + make + ./generator --include-paths=/usr/include + # build plugins + cd ../qtbindings + qmake + make + # move plugins to correct directory + mkdir -p $PKG/usr/lib/qt/plugins/script + mv $SRC/$name-src-$version/plugins/script/* $PKG/usr/lib/qt/plugins/script/ +} |