wok-undigest diff qoauth/receipt @ rev 168
Add: qTwitter v0.10.0 (Twitter/StatusNet client) and deps:
- Qt4-QCA v2.0.2 (Qt Crypto Arch)
- Qt4-QCA-OSSL v2.0.0-beta3 (SSL plug-in)
- QoAuth v1.0 (Qt oAuth) -- may need fixes on file locations
- Qt4-QCA v2.0.2 (Qt Crypto Arch)
- Qt4-QCA-OSSL v2.0.0-beta3 (SSL plug-in)
- QoAuth v1.0 (Qt oAuth) -- may need fixes on file locations
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Sat Sep 04 21:46:16 2010 +0100 (2010-09-04) |
parents | |
children | da2e410ca36f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/qoauth/receipt Sat Sep 04 21:46:16 2010 +0100 1.3 @@ -0,0 +1,120 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="qoauth" 1.7 +VERSION="1.0" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="OAuth support for Qt applications." 1.10 +MAINTAINER="ben@seawolfsanctuary.com" 1.11 +DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \ 1.12 +libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \ 1.13 +libQtOpenGL libQtSql libQtWebkit" 1.14 +BUILD_DEPENDS="xorg-libX11-dev dbus-dev Qt4-dev slitaz-toolchain" 1.15 +TARBALL="$PACKAGE-$VERSION-src.tar.bz2" 1.16 +WEB_SITE="http://github.com/ayoy/$PACKAGE" 1.17 +WGET_URL="http://files.ayoy.net/$PACKAGE/release/$VERSION/src/$TARBALL" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 +# echo -n "Linking..." 1.23 +# ln -s $src-src $src 1.24 +# status 1.25 + 1.26 + cd $src 1.27 + 1.28 + qmake PREFIX="/usr" 1.29 +# chmod +x configure 1.30 +# ./configure \ 1.31 +# --prefix=/usr 1.32 + 1.33 +patch -u <<ENDOFPATCH 1.34 +--- Makefile 1.35 ++++ Makefile 1.36 +@@ -28,2 +28,1 @@ 1.37 +- sub-src \\ 1.38 +- sub-tests 1.39 ++ sub-src 1.40 +ENDOFPATCH 1.41 + 1.42 +status 1.43 + 1.44 +patch -u <<ENDOFPATCH 1.45 +--- Makefile 1.46 ++++ Makefile 1.47 +@@ -24,8 +24,7 @@ 1.48 + MOVE = mv -f 1.49 + CHK_DIR_EXISTS= test -d 1.50 + MKDIR = mkdir -p 1.51 +-SUBTARGETS = \\ 1.52 +- sub-src 1.53 ++SUBTARGETS = sub-src 1.54 + 1.55 + src/\$(MAKEFILE): 1.56 + @\$(CHK_DIR_EXISTS) src/ || \$(MKDIR) src/ 1.57 +@@ -140,16 +139,16 @@ 1.58 + qmake: qmake_all FORCE 1.59 + @\$(QMAKE) -unix PREFIX=/usr -o Makefile qoauth.pro 1.60 + 1.61 +-qmake_all: sub-src-qmake_all sub-tests-qmake_all FORCE 1.62 ++qmake_all: sub-src-qmake_all FORCE 1.63 + 1.64 +-make_default: sub-src-make_default-ordered sub-tests-make_default-ordered FORCE 1.65 +-make_first: sub-src-make_first-ordered sub-tests-make_first-ordered FORCE 1.66 +-all: sub-src-all-ordered sub-tests-all-ordered FORCE 1.67 +-clean: sub-src-clean-ordered sub-tests-clean-ordered FORCE 1.68 +-distclean: sub-src-distclean-ordered sub-tests-distclean-ordered FORCE 1.69 ++make_default: sub-src-make_default-ordered FORCE 1.70 ++make_first: sub-src-make_first-ordered FORCE 1.71 ++all: sub-src-all-ordered FORCE 1.72 ++clean: sub-src-clean-ordered FORCE 1.73 ++distclean: sub-src-distclean-ordered FORCE 1.74 + -\$(DEL_FILE) Makefile 1.75 +-install_subtargets: sub-src-install_subtargets-ordered sub-tests-install_subtargets-ordered FORCE 1.76 +-uninstall_subtargets: sub-src-uninstall_subtargets-ordered sub-tests-uninstall_subtargets-ordered FORCE 1.77 ++install_subtargets: sub-src-install_subtargets-ordered FORCE 1.78 ++uninstall_subtargets: sub-src-uninstall_subtargets-ordered FORCE 1.79 + 1.80 + check: sub-tests 1.81 + ( cd tests/ut_interface && ./ut_interface ) && ( cd tests/ft_interface && ./ft_interface ) 1.82 +ENDOFPATCH 1.83 + 1.84 +status 1.85 + 1.86 + if [ -f /usr/include/QtOAuth ] || [ -d /usr/include/QtOAuth ] ; then 1.87 + echo -n "Removing QtOAuth placeholder... " 1.88 + rm -rf /usr/include/QtOAuth/ 1.89 + status && echo 1.90 + fi 1.91 + 1.92 + make -j4 && make DESTDIR=$_pkg install 1.93 +} 1.94 + 1.95 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.96 +genpkg_rules() 1.97 +{ 1.98 + mkdir -p $fs/usr 1.99 + for DIRECTORY in lib include ; do 1.100 + cp -a $src/$DIRECTORY $fs/usr 1.101 + done 1.102 + 1.103 + mv $fs/usr/include/QtOAuth $fs/usr/include/QtOAuth.bak 1.104 + mkdir $fs/usr/include/QtOAuth/ 1.105 + mv $fs/usr/include/interface.h $fs/usr/include/QtOAuth/interface.h 1.106 + cp $fs/usr/include/QtOAuth/interface.h $fs/usr/include/interface.h 1.107 + mv $fs/usr/include/QtOAuth.bak $fs/usr/include/QtOAuth/QtOAuth 1.108 + 1.109 + mkdir -p $fs/usr/share/qt/mkspecs/features && \ 1.110 + cp $src/oauth.prf $fs/usr/share/qt/mkspecs/features/oauth.prf 1.111 + 1.112 + # Copy .desktop file: 1.113 +# cp -a $WOK/$PACKAGE/stuff/* $fs/usr 1.114 +} 1.115 + 1.116 +pre_install() 1.117 +{ 1.118 + if [ -f /usr/include/QtOAuth ] || [ -d /usr/include/QtOAuth ] ; then 1.119 + echo -n "Removing QtOAuth placeholder... " 1.120 + rm -rf /usr/include/QtOAuth/ 1.121 + status && echo 1.122 + fi 1.123 +}