wok-current rev 17059

fix qt
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Thu Aug 21 11:59:26 2014 +0200 (2014-08-21)
parents d5b427eca7f3
children 0b3e30f655f9
files qt4-base/receipt
line diff
     1.1 --- a/qt4-base/receipt	Thu Aug 21 10:08:05 2014 +0200
     1.2 +++ b/qt4-base/receipt	Thu Aug 21 11:59:26 2014 +0200
     1.3 @@ -4,7 +4,7 @@
     1.4  SOURCE="qt-everywhere-opensource-src"
     1.5  VERSION="4.8.6"
     1.6  CATEGORY="development"
     1.7 -SHORT_DESC="Qt4 less deps experimental rebuild, empty package"
     1.8 +SHORT_DESC="Qt4 less deps experimental rebuild, dev package"
     1.9  MAINTAINER="psychomaniak@xakep.ru"
    1.10  LICENSE="GPL3 LGPL2.1"
    1.11  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.12 @@ -22,15 +22,15 @@
    1.13  libxml2-dev linux-api-headers m4 make mercurial ncurses-dev openssl-dev \
    1.14  pango-dev patch pcre-dev perl perl-xml-parser perl-xml-simple pixman-dev \
    1.15  pkg-config tiff-dev xorg-dev-proto xorg-dev zip unzip gtk+-dev alsa-lib-dev \
    1.16 -sqlite-dev"
    1.17 +sqlite-dev libQtClucene wayland-dev"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -	mkdir -p $WOK/$PACKAGE/source/
    1.23 -	ln -s $WOK/qt4/source/qt4-$VERSION $WOK/$PACKAGE/source/$PACKAGE-$VERSION
    1.24 -	cd $WOK/$PACKAGE/source/$PACKAGE-$VERSION &&
    1.25 -	#cd $src
    1.26 +	#mkdir -p $WOK/$PACKAGE/source/
    1.27 +	#ln -s $WOK/qt4/source/qt4-$VERSION $WOK/$PACKAGE/source/$PACKAGE-$VERSION
    1.28 +	#cd $WOK/$PACKAGE/source/$PACKAGE-$VERSION &&
    1.29 +	cd $src
    1.30  	./configure\
    1.31  		-silent \
    1.32  		-prefix /usr \
    1.33 @@ -72,6 +72,16 @@
    1.34  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.35  genpkg_rules()
    1.36  {
    1.37 -	# dummy tree to avoid 'tazwok cmp --cook' building loop
    1.38 -	mkdir $fs/etc
    1.39 +		mkdir $fs/etc
    1.40 +		cp -a $install/usr/lib/pkgconfig  $fs/usr/lib
    1.41 +		cp -a $install/usr/lib/*.*a  $fs/usr/lib/    
    1.42 +		cp -a $install/usr/lib/*.prl  $fs/usr/lib/
    1.43 +		/mkdir $fs/usr/share/qt
    1.44 +		cp -a $install/usr/share/qt/mkspecs/ $fs/usr/share/qt
    1.45 +		cp -a $install/usr/bin $fs/usr    
    1.46 +		rm $fs/usr/bin/qmake
    1.47 +		rm $fs/usr/bin/designer
    1.48 +		rm $fs/usr/bin/linguist
    1.49 +		rm $fs/usr/bin/assistant
    1.50 +		rm $fs/usr/bin/qtconfig
    1.51  }