wok rev 25884

Down: lite (0.8.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 29 12:58:24 2025 +0000 (3 days ago)
parents 0d8190541a07
children b32178cd99f5
files lite-dev/receipt lite/receipt py3k-cryptography/receipt python-cryptography/receipt
line diff
     1.1 --- a/lite-dev/receipt	Mon Sep 29 11:09:41 2025 +0000
     1.2 +++ b/lite-dev/receipt	Mon Sep 29 12:58:24 2025 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lite-dev"
     1.7 -VERSION="1.11"
     1.8 +VERSION="0.8.10"
     1.9  CATEGORY="graphics"
    1.10  SHORT_DESC="DirectFB - LiTE devel files"
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/lite/receipt	Mon Sep 29 11:09:41 2025 +0000
     2.2 +++ b/lite/receipt	Mon Sep 29 12:58:24 2025 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="lite"
     2.7 -VERSION="1.11"
     2.8 +VERSION="0.8.10"
     2.9  CATEGORY="graphics"
    2.10  SHORT_DESC="LiTE is a Toolkit Engine using DirectFB"
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12 @@ -9,11 +9,12 @@
    2.13  SOURCE="LiTE"
    2.14  TARBALL="${SOURCE}-${VERSION}.tar.gz"
    2.15  WEB_SITE="https://github.com/rxi/lite"
    2.16 -WGET_URL="https://github.com/rxi/lite/archive/refs/tags/v$VERSION.tar.gz"
    2.17 +#WGET_URL="https://distro.ibiblio.org/slitaz/sources/packages/${TARBALL:0:1}/$TARBALL"
    2.18 +WGET_URL="http://mirror.slitaz.org/sources/packages-cooking/${TARBALL:0:1}/$TARBALL"
    2.19  HOST_ARCH="i486 arm"
    2.20  
    2.21 -DEPENDS="directfb libsdl2"
    2.22 -BUILD_DEPENDS="directfb-dev libsdl2-dev"
    2.23 +DEPENDS="directfb"
    2.24 +BUILD_DEPENDS="directfb-dev"
    2.25  
    2.26  # Handle cross compilation.
    2.27  case "$ARCH" in
    2.28 @@ -32,14 +33,18 @@
    2.29  # Rules to configure and make the package.
    2.30  compile_rules()
    2.31  {
    2.32 -	sed -i 's|gnu11|gnu99|' build.sh
    2.33 -	./build.sh
    2.34 +	sed -i 's|leck/textline.h>|&\n\n#define stat cur_stat|' examples/dfbspy.c
    2.35 +	sed -i 's|\\\\\\|\\|g' lite.pc.in
    2.36 +	 ./configure \
    2.37 +		$CONFIGURE_ARGS &&
    2.38 +	make && make install
    2.39  }
    2.40  
    2.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.42  genpkg_rules()
    2.43  {
    2.44 -	mkdir -p $fs/usr/bin
    2.45 -	cp -a $src/lite $fs/usr/bin
    2.46 -	cp -a $src/data $fs/usr/bin
    2.47 +	mkdir -p $fs/usr/lib
    2.48 +	cp -a $install/usr/bin $fs/usr
    2.49 +	cp -a $install/usr/share $fs/usr
    2.50 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.51  }
     3.1 --- a/py3k-cryptography/receipt	Mon Sep 29 11:09:41 2025 +0000
     3.2 +++ b/py3k-cryptography/receipt	Mon Sep 29 12:58:24 2025 +0000
     3.3 @@ -12,8 +12,8 @@
     3.4  WGET_URL="https://github.com/pyca/cryptography/archive/$VERSION.tar.gz"
     3.5  
     3.6  DEPENDS="py3k py3k-asn1crypto py3k-six"
     3.7 -BUILD_DEPENDS="openssl-dev py3k-cffi py3k-cparser py3k-dev
     3.8 -	py3k-setuptools_scm"
     3.9 +BUILD_DEPENDS="py3k-cffi py3k-cparser py3k-dev
    3.10 +	py3k-setuptools_scm openssl10-dev"
    3.11  
    3.12  # What is the latest version available today?
    3.13  current_version()
     4.1 --- a/python-cryptography/receipt	Mon Sep 29 11:09:41 2025 +0000
     4.2 +++ b/python-cryptography/receipt	Mon Sep 29 12:58:24 2025 +0000
     4.3 @@ -12,8 +12,8 @@
     4.4  WGET_URL="https://github.com/pyca/cryptography/archive/$VERSION.tar.gz"
     4.5  
     4.6  DEPENDS="python python-asn1crypto python-enum34 python-six"
     4.7 -BUILD_DEPENDS="openssl-dev python-cffi python-cparser python-dev
     4.8 -	python-setuptools"
     4.9 +BUILD_DEPENDS="python-cffi python-cparser python-dev
    4.10 +	python-setuptools openssl10-dev"
    4.11  
    4.12  current_version()
    4.13  {