wok rev 11216
Add from wok-undigest: Qt4-qca-ossl alarm-clock apcupsd avant-window-navigator avant-window-navigator-dev
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 03 21:50:22 2011 +0100 (2011-11-03) |
parents | 6b4a47136bff |
children | 5189e691d619 |
files | Qt4-qca-ossl/receipt alarm-clock/receipt apcupsd/receipt avant-window-navigator-dev/receipt avant-window-navigator/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Qt4-qca-ossl/receipt Thu Nov 03 21:50:22 2011 +0100 1.3 @@ -0,0 +1,80 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +NAME="qca-ossl" 1.7 +PACKAGE="Qt4-$NAME" 1.8 +MAJORVERSION="2.0" 1.9 +VERSION="2.0.0-beta3" 1.10 +CATEGORY="development" 1.11 +SHORT_DESC="OpenSSL plug-in for the Qt Cryptographic Architecture (QCA)." 1.12 +MAINTAINER="ben@seawolfsanctuary.com" 1.13 +DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \ 1.14 +libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \ 1.15 +libQtOpenGL libQtSql libQtWebkit qca openssl" 1.16 +BUILD_DEPENDS="qmake xorg-libX11-dev dbus-dev openssl-dev Qt4-dev qca-dev" 1.17 +TARBALL="$NAME-$VERSION.tar.bz2" 1.18 +WEB_SITE="http://delta.affinix.com/$NAME" 1.19 +WGET_URL="http://delta.affinix.com/download/qca/$MAJORVERSION/plugins/$TARBALL" 1.20 + 1.21 +# Rules to configure and make the package. 1.22 +compile_rules() 1.23 +{ 1.24 + cd $src 1.25 + 1.26 + patch -u <<EOP 1.27 +--- qca-ossl.cpp 1.28 ++++ qca-ossl.cpp 1.29 +@@ -330,1 +330,1 @@ 1.30 +- X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, "hash"); 1.31 ++ X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, (char *)"hash"); 1.32 +EOP 1.33 + status 1.34 + patch -u <<EOP 1.35 +--- qca-ossl.cpp 1.36 ++++ qca-ossl.cpp 1.37 +@@ -6597,9 +6597,11 @@ 1.38 + #ifdef SHA512_DIGEST_LENGTH 1.39 + list += "sha512"; 1.40 + #endif 1.41 ++ /* 1.42 + #ifdef OBJ_whirlpool 1.43 + list += "whirlpool"; 1.44 + #endif 1.45 ++ */ 1.46 + return list; 1.47 + } 1.48 +EOP 1.49 + status 1.50 + patch -u <<EOP 1.51 +--- qca-ossl.cpp 1.52 ++++ qca-ossl.cpp 1.53 +@@ -6812,10 +6812,12 @@ 1.54 + else if ( type == "sha512" ) 1.55 + return new opensslHashContext( EVP_sha512(), this, type); 1.56 + #endif 1.57 ++/* 1.58 + #ifdef OBJ_whirlpool 1.59 + else if ( type == "whirlpool" ) 1.60 + return new opensslHashContext( EVP_whirlpool(), this, type); 1.61 + #endif 1.62 ++*/ 1.63 + else if ( type == "pbkdf1(sha1)" ) 1.64 + return new opensslPbkdf1Context( EVP_sha1(), this, type ); 1.65 + else if ( type == "pbkdf1(md2)" ) 1.66 +EOP 1.67 + status 1.68 + 1.69 + chmod +x configure 1.70 + ./configure \ 1.71 + --qtdir=/usr/lib/qt && \ 1.72 + make -j4 && make DESTDIR=$_pkg install 1.73 +} 1.74 + 1.75 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.76 +genpkg_rules() 1.77 +{ 1.78 + mkdir -p $fs/usr/lib/qt/plugins/crypto 1.79 + cp -a $src/lib/* $fs/usr/lib/qt/plugins/crypto/ 1.80 + 1.81 + # Copy .desktop file: 1.82 +# cp -a $stuff/* $fs/usr 1.83 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/alarm-clock/receipt Thu Nov 03 21:50:22 2011 +0100 2.3 @@ -0,0 +1,29 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="alarm-clock" 2.7 +VERSION="1.4.3" 2.8 +CATEGORY="utilities" 2.9 +SHORT_DESC="Simple GTK alarm clock" 2.10 +MAINTAINER="pankso@slitaz.org" 2.11 +DEPENDS="gtk+ libunique libnotify gstreamer" 2.12 +BUILD_DEPENDS="$DEPENDS gtk+-dev libunique-dev libnotify-dev gstreamer-dev" 2.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.14 +WEB_SITE="http://www.alarm-clock.pl/" 2.15 +WGET_URL="http://www.alarm-clock.pl/files/$TARBALL" 2.16 + 2.17 +# Rules to configure and make the package. 2.18 +compile_rules() 2.19 +{ 2.20 + cd $src 2.21 + chmod +x install-sh 2.22 + ./configure && make && make install 2.23 +} 2.24 + 2.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.26 +genpkg_rules() 2.27 +{ 2.28 + mkdir -p $fs/usr/share 2.29 + cp -a $_pkg/usr/bin $fs/usr 2.30 + cp -a $_pkg/usr/share/alarm-clock $fs/usr/share 2.31 + cp -a $_pkg/usr/share/icons $fs/usr/share 2.32 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/apcupsd/receipt Thu Nov 03 21:50:22 2011 +0100 3.3 @@ -0,0 +1,37 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="apcupsd" 3.7 +VERSION="3.14.9" 3.8 +CATEGORY="system-tools" 3.9 +SHORT_DESC="APC UPS Power Management (daemon)" 3.10 +MAINTAINER="devel@slitaz.org" 3.11 +BUILD_DEPENDS="slitaz-dev-pkgs libgd-dev libgd" 3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 3.13 +WEB_SITE="http://www.apcupsd.com/" 3.14 +WGET_URL="http://netcologne.dl.sourceforge.net/project/$PACKAGE/$PACKAGE%20-%20Stable/$VERSION/$TARBALL" 3.15 + 3.16 +# Rules to configure and make the package. 3.17 +compile_rules() 3.18 +{ 3.19 + cd $src 3.20 + sed -i 's/src platforms doc/src platforms/' Makefile 3.21 + SHUTDOWN=/sbin/poweroff ac_cv_func_setpgrp_void=yes ./configure \ 3.22 + --enable-usb \ 3.23 + --disable-snmp \ 3.24 + --disable-net \ 3.25 + --with-upstype=usb \ 3.26 + --with-dev= \ 3.27 + --enable-threads \ 3.28 + --enable-cgi \ 3.29 + --prefix=/usr \ 3.30 + --infodir=/usr/share/info \ 3.31 + --mandir=/usr/share/man \ 3.32 + $CONFIGURE_ARGS && 3.33 + make && make install 3.34 +} 3.35 + 3.36 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.37 +genpkg_rules() 3.38 +{ 3.39 + cp -a $_pkg/* $fs 3.40 +}
4.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 4.2 +++ b/avant-window-navigator-dev/receipt Thu Nov 03 21:50:22 2011 +0100 4.3 @@ -0,0 +1,18 @@ 4.4 +# SliTaz package receipt. 4.5 + 4.6 +PACKAGE="avant-window-navigator-dev" 4.7 +VERSION="0.4.0" 4.8 +CATEGORY="development" 4.9 +SHORT_DESC="The AWN devel files." 4.10 +MAINTAINER="pankso@slitaz.org" 4.11 +WANTED="avant-window-navigator" 4.12 +WEB_SITE="https://launchpad.net/awn/" 4.13 + 4.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 4.15 +genpkg_rules() 4.16 +{ 4.17 + mkdir -p $fs/usr/lib 4.18 + cp -a $_pkg/usr/include $fs/usr 4.19 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 4.20 + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib 4.21 +}
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 5.2 +++ b/avant-window-navigator/receipt Thu Nov 03 21:50:22 2011 +0100 5.3 @@ -0,0 +1,68 @@ 5.4 +# SliTaz package receipt. 5.5 + 5.6 +PACKAGE="avant-window-navigator" 5.7 +VERSION="0.4.0" 5.8 +CATEGORY="x-window" 5.9 +SHORT_DESC="Dock-like bar which sits at the bottom of the screen." 5.10 +MAINTAINER="pankso@slitaz.org" 5.11 +DEPENDS="dbus librsvg libwnck xorg-xcompmgr libgtop" 5.12 +BUILD_DEPENDS="dbus-dev librsvg-dev libwnck libwnck-dev pygtk-dev xcb-util-dev \ 5.13 +libxcb-dev startup-notification-dev pycairo-dev pygobject-dev libffi-dev \ 5.14 +python-xdg intltool acl dbus-glib-dev python-dev libdesktop-agnostic-dev \ 5.15 +GConf libgtop-dev" 5.16 +TARBALL="$PACKAGE-$VERSION.tar.gz" 5.17 +WEB_SITE="https://launchpad.net/awn/" 5.18 +WGET_URL="http://launchpad.net/awn/0.4/$VERSION/+download/$TARBALL" 5.19 +TAGS="window-manager wm panel" 5.20 + 5.21 +# Rules to configure and make the package. 5.22 +compile_rules() 5.23 +{ 5.24 + cd $src 5.25 + ./configure \ 5.26 + --prefix=/usr \ 5.27 + --sysconfdir=/etc \ 5.28 + --with-desktop=agnostic \ 5.29 + $CONFIGURE_ARGS && 5.30 + make && 5.31 + make DESTDIR=$DESTDIR install 5.32 +} 5.33 + 5.34 +# Rules to gen a SliTaz package suitable for Tazpkg. 5.35 +genpkg_rules() 5.36 +{ 5.37 + mkdir -p $fs/usr/lib $fs/usr/share 5.38 + cp -a $_pkg/usr/bin $fs/usr 5.39 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 5.40 + cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 5.41 + cp -a $_pkg/usr/share/applications $fs/usr/share 5.42 + cp -a $_pkg/usr/share/icons/hicolor/32x32/apps \ 5.43 + $fs/usr/share/pixmaps 5.44 + # Custom autostart script so we ensure xcompmgr is also started. 5.45 + cat > $fs/usr/bin/awn-autostart << _EOT_ 5.46 +#!/bin/sh 5.47 +xcompmgr & 5.48 +sleep 4 && avant-window-navigator 5.49 +_EOT_ 5.50 + 5.51 + # split awn-manager 5.52 + rm -f $fs/usr/bin/awn-manager 5.53 + rm -rf $fs/usr/share/$PACKAGE/awn-manager 5.54 + rm -f $fs/usr/share/applications/awn-manager.desktop 5.55 + 5.56 + # fix permissions 5.57 + chmod +x $fs/usr/bin/* 5.58 + 5.59 + # Fix missing icon 5.60 + cd $fs/usr/share/pixmaps 5.61 + ln -s avant-window-navigator.png awn-manager.png 5.62 + 5.63 + 5.64 +} 5.65 + 5.66 +post_install() 5.67 +{ 5.68 + # ln missing icons 5.69 + ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-up.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-ascending.png 5.70 + ln -sf $1/usr/share/icons/SliTaz/16x16/actions/go-down.png $1/usr/share/icons/SliTaz/16x16/actions/gtk-sort-descending.png 5.71 +}