wok-current rev 23595
updated qoauth (1.0 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 14:40:29 2020 +0100 (2020-04-08) |
parents | 0e3b43ca38e6 |
children | a4a9b130531d 07fcb5769b7f |
files | qoauth/receipt |
line diff
1.1 --- a/qoauth/receipt Wed Apr 08 13:49:09 2020 +0100 1.2 +++ b/qoauth/receipt Wed Apr 08 14:40:29 2020 +0100 1.3 @@ -1,19 +1,20 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="qoauth" 1.7 -VERSION="1.0" 1.8 +VERSION="2.0.0" 1.9 CATEGORY="development" 1.10 SHORT_DESC="OAuth support for Qt applications." 1.11 MAINTAINER="ben@seawolfsanctuary.com" 1.12 LICENSE="LGPL3" 1.13 -TARBALL="$PACKAGE-$VERSION-src.tar.bz2" 1.14 -WEB_SITE="https://github.com/ayoy/$PACKAGE" 1.15 -WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL" 1.16 +WEB_SITE="https://github.com/ayoy/qoauth" 1.17 1.18 -DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \ 1.19 -libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \ 1.20 -libQtOpenGL libQtSql libQtWebkit" 1.21 -BUILD_DEPENDS="qmake qca-dev xorg-libX11-dev dbus-dev Qt4-dev slitaz-toolchain" 1.22 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.23 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.24 + 1.25 +DEPENDS="glibc-locale libQt3Support libQtClucene libQtCore libQtDBus libQtDesigner 1.26 + libQtGui libQtHelp libQtNetwork libQtOpenGL libQtScript libQtSql libQtSvg 1.27 + libQtWebkit libQtXml" 1.28 +BUILD_DEPENDS="dbus-dev qca-dev qmake Qt4-dev slitaz-toolchain xorg-libX11-dev" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 @@ -22,8 +23,6 @@ 1.33 # ln -s $src-src $src 1.34 # status 1.35 1.36 - cd $src 1.37 - 1.38 qmake PREFIX="/usr" 1.39 # chmod +x configure 1.40 # ./configure \ 1.41 @@ -82,32 +81,37 @@ 1.42 1.43 status 1.44 1.45 - if [ -f /usr/include/QtOAuth ] || [ -d /usr/include/QtOAuth ] ; then 1.46 + if [ -f /usr/include/QtOAuth ] || [ -d /usr/include/QtOAuth ] 1.47 + then 1.48 echo -n "Removing QtOAuth placeholder... " 1.49 rm -rf /usr/include/QtOAuth/ 1.50 status && echo 1.51 fi 1.52 1.53 - make $MAKEFLAGS && make DESTDIR=$DESTDIR install 1.54 + make $MAKEFLAGS && 1.55 + make DESTDIR=$DESTDIR install 1.56 } 1.57 1.58 # Rules to gen a SliTaz package suitable for Tazpkg. 1.59 genpkg_rules() 1.60 { 1.61 mkdir -p $fs/usr 1.62 - for DIRECTORY in lib include ; do 1.63 - cp -a $src/$DIRECTORY $fs/usr 1.64 - done 1.65 - cp $src/src/*.h $fs/usr/include 1.66 1.67 - mv $fs/usr/include/QtOAuth $fs/usr/include/QtOAuth.bak 1.68 + for DIRECTORY in lib include 1.69 + do 1.70 + cp -a $src/$DIRECTORY $fs/usr 1.71 + done 1.72 + cp $src/src/*.h $fs/usr/include 1.73 + 1.74 + mv $fs/usr/include/QtOAuth $fs/usr/include/QtOAuth.bak 1.75 mkdir $fs/usr/include/QtOAuth/ 1.76 - mv $fs/usr/include/interface.h $fs/usr/include/QtOAuth/interface.h 1.77 - cp $fs/usr/include/QtOAuth/interface.h $fs/usr/include/interface.h 1.78 - mv $fs/usr/include/QtOAuth.bak $fs/usr/include/QtOAuth/QtOAuth 1.79 + mv $fs/usr/include/interface.h $fs/usr/include/QtOAuth/interface.h 1.80 + cp $fs/usr/include/QtOAuth/interface.h \ 1.81 + $fs/usr/include/interface.h 1.82 + mv $fs/usr/include/QtOAuth.bak $fs/usr/include/QtOAuth/QtOAuth 1.83 1.84 - mkdir -p $fs/usr/share/qt/mkspecs/features && \ 1.85 - cp $src/oauth.prf $fs/usr/share/qt/mkspecs/features/oauth.prf 1.86 + mkdir -p $fs/usr/share/qt/mkspecs/features && 1.87 + cp $src/oauth.prf $fs/usr/share/qt/mkspecs/features/oauth.prf 1.88 1.89 # Copy .desktop file: 1.90 # cp -a $WOK/$PACKAGE/stuff/* $fs/usr 1.91 @@ -115,7 +119,8 @@ 1.92 1.93 pre_install() 1.94 { 1.95 - if [ -f /usr/include/QtOAuth ] || [ -d /usr/include/QtOAuth ] ; then 1.96 + if [ -f /usr/include/QtOAuth ] || [ -d /usr/include/QtOAuth ] 1.97 + then 1.98 echo -n "Removing QtOAuth placeholder... " 1.99 rm -rf /usr/include/QtOAuth/ 1.100 status && echo