wok-current rev 25637
Add miss new packages (Py3Qt-x11-gpl and pycairo118)
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jan 15 22:12:34 2024 +0000 (10 months ago) |
parents | d825a8e29c81 |
children | e6c086aad08f |
files | Py3Qt-x11-gpl/receipt pycairo118-dev/receipt pycairo118/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Py3Qt-x11-gpl/receipt Mon Jan 15 22:12:34 2024 +0000 1.3 @@ -0,0 +1,44 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="Py3Qt-x11-gpl" 1.7 +SOURCE="PyQt4_gpl_x11" 1.8 +VERSION="4.12.3" 1.9 +CATEGORY="development" 1.10 +SHORT_DESC="PyQt" 1.11 +MAINTAINER="allan316@gmail.com" 1.12 +LICENSE="GPL" 1.13 +WEB_SITE="https://riverbankcomputing.com/software/pyqt/intro" 1.14 +TARBALL="$SOURCE-$VERSION.tar.gz" 1.15 +WGET_URL="$SF_MIRROR/pyqt/$TARBALL" 1.16 + 1.17 +DEPENDS="python3 libQtDesigner libQtScript libQtCore libQtGui \ 1.18 +libQtWebkit libQtXml libQtNetwork libQtSvg libQtSql \ 1.19 +libQtDBus libQtClucene sip3 gcc-lib-base dbus" 1.20 +BUILD_DEPENDS="python3-dev sip3-dev Qt4-dev qmake \ 1.21 +dbus-dev dbus-python-dev" 1.22 + 1.23 +current_version() 1.24 +{ 1.25 + wget -O - https://riverbankcomputing.com/software/pyqt/download 2>/dev/null | \ 1.26 + sed "/$SOURCE/!d;s|.*$SOURCE-||;s|.tar.*||;q" 1.27 +} 1.28 + 1.29 +# Rules to configure and make the package. 1.30 +compile_rules() 1.31 +{ 1.32 + sed -i 's|sys.stdin.readline()|"yes" # &|' configure.py 1.33 + python3 configure.py \ 1.34 + --confirm-license \ 1.35 + --dbus /usr/include/dbus-1.0 1.36 + make $MAKEFLAGS && 1.37 + make DESTDIR=$DESTDIR install 1.38 +} 1.39 + 1.40 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.41 +genpkg_rules() 1.42 +{ 1.43 + mkdir -p $fs/usr 1.44 + cp -a $install/usr/bin $fs/usr 1.45 + cp -a $install/usr/lib $fs/usr 1.46 + cp -a $install/usr/share $fs/usr 1.47 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/pycairo118-dev/receipt Mon Jan 15 22:12:34 2024 +0000 2.3 @@ -0,0 +1,21 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="pycairo118-dev" 2.7 +VERSION="1.18.2" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Python bindings for the cairo graphics library - development files." 2.10 +MAINTAINER="erjo@slitaz.org" 2.11 +LICENSE="MPL LGPL2.1" 2.12 +WEB_SITE="https://www.cairographics.org/pycairo/" 2.13 + 2.14 +DEPENDS="pkg-config pycairo118" 2.15 +WANTED="pycairo118" 2.16 + 2.17 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.18 +genpkg_rules() 2.19 +{ 2.20 + mkdir -p $fs/usr/lib 2.21 + 2.22 + cp -a $install/usr/lib/pkgconfig $fs/usr/lib 2.23 + cp -a $install/usr/include $fs/usr 2.24 +}
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 3.2 +++ b/pycairo118/receipt Mon Jan 15 22:12:34 2024 +0000 3.3 @@ -0,0 +1,39 @@ 3.4 +# SliTaz package receipt. 3.5 + 3.6 +PACKAGE="pycairo118" 3.7 +SOURCE="pycairo" 3.8 +VERSION="1.18.2" 3.9 +CATEGORY="development" 3.10 +SHORT_DESC="Python bindings for the cairo graphics library." 3.11 +MAINTAINER="erjo@slitaz.org" 3.12 +LICENSE="MPL LGPL2.1" 3.13 +WEB_SITE="https://www.cairographics.org/pycairo/" 3.14 + 3.15 +TARBALL="$SOURCE-$VERSION.tar.gz" 3.16 +WGET_URL="https://github.com/pygobject/$SOURCE/archive/v$VERSION/$TARBALL" 3.17 + 3.18 +DEPENDS="cairo expat fontconfig freetype xorg-libX11 xorg-libXau \ 3.19 + xorg-libXdmcp xorg-libXrender xcb-util" 3.20 +BUILD_DEPENDS="cairo cairo-dev pkg-config python-dev xorg-xproto" 3.21 + 3.22 +current_version() 3.23 +{ 3.24 + wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ 3.25 + sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' 3.26 +} 3.27 + 3.28 +# Rules to configure and make the package. 3.29 +compile_rules() 3.30 +{ 3.31 + python setup.py build && 3.32 + python setup.py install --root=$DESTDIR 3.33 +} 3.34 + 3.35 +# Rules to gen a SliTaz package suitable for Tazpkg. 3.36 +genpkg_rules() 3.37 +{ 3.38 + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 3.39 + 3.40 + mkdir -p $fs/usr/lib 3.41 + cp -a $install/usr/lib/$PYTHON_LIB $fs/usr/lib 3.42 +}