wok rev 25074

Add python-ipaddress
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 13 19:39:39 2022 +0000 (5 months ago)
parents 3b19fa0b9a88
children 26ca23936f62
files libiec61883/receipt libtar/receipt lxterminal/receipt mp3gain/receipt python-ipaddress/receipt sshproxy/receipt
line diff
     1.1 --- a/libiec61883/receipt	Sat Jun 11 11:22:52 2022 +0000
     1.2 +++ b/libiec61883/receipt	Mon Jun 13 19:39:39 2022 +0000
     1.3 @@ -6,10 +6,8 @@
     1.4  SHORT_DESC="libiec61883 is a standard defining a high speed serial bus."
     1.5  MAINTAINER="pankso@slitaz.org"
     1.6  LICENSE="LGPL2.1"
     1.7 -#TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.8 -TARBALL="${PACKAGE}_$VERSION.orig.tar.gz"
     1.9 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.10  WEB_SITE="https://ieee1394.wiki.kernel.org/index.php/Main_Page"
    1.11 -#WGET_URL="http://www.linux1394.org/dl/$TARBALL"
    1.12  WGET_URL="https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/$TARBALL"
    1.13  
    1.14  DEPENDS="libraw1394"
    1.15 @@ -18,14 +16,13 @@
    1.16  # What is the latest version available today?
    1.17  current_version()
    1.18  {
    1.19 -	wget -O - https://mirrors.edge.kernel.org/pub/linux/libs/ieee1394/ 2>/dev/null | \
    1.20 +	wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
    1.21  	sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
    1.22  }
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28  	./configure \
    1.29  		--prefix=/usr \
    1.30  		--mandir=/usr/share/man \
     2.1 --- a/libtar/receipt	Sat Jun 11 11:22:52 2022 +0000
     2.2 +++ b/libtar/receipt	Mon Jun 13 19:39:39 2022 +0000
     2.3 @@ -9,7 +9,7 @@
     2.4  WEB_SITE="https://directory.fsf.org/wiki/Libtar"
     2.5  
     2.6  TARBALL="$PACKAGE-$VERSION.tar.gz"
     2.7 -WGET_URL="https://pkgbuild.com/~giovanni/$PACKAGE/$TARBALL"
     2.8 +WGET_URL="https://github.com/tklauser/libtar/archive/v$VERSION/$TARBALL"
     2.9  
    2.10  DEPENDS="zlib"
    2.11  BUILD_DEPENDS="automake libtool zlib-dev"
     3.1 --- a/lxterminal/receipt	Sat Jun 11 11:22:52 2022 +0000
     3.2 +++ b/lxterminal/receipt	Mon Jun 13 19:39:39 2022 +0000
     3.3 @@ -7,7 +7,7 @@
     3.4  SHORT_DESC="LXDE terminal emulator."
     3.5  MAINTAINER="gokhlayeh@slitaz.org"
     3.6  LICENSE="GPL2"
     3.7 -WEB_SITE="https://wiki.lxde.org/en/LXTerminal"
     3.8 +WEB_SITE="https://www.lxde.org/"
     3.9  
    3.10  TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.11  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
     4.1 --- a/mp3gain/receipt	Sat Jun 11 11:22:52 2022 +0000
     4.2 +++ b/mp3gain/receipt	Mon Jun 13 19:39:39 2022 +0000
     4.3 @@ -6,7 +6,7 @@
     4.4  SHORT_DESC="Analyzes and adjusts volume on mp3 files."
     4.5  MAINTAINER="paul@slitaz.org"
     4.6  LICENSE="LGPL2.1"
     4.7 -WEB_SITE="https://sourceforge.net/projects/mp3gain/"
     4.8 +WEB_SITE="http://mp3gain.sourceforge.net/"
     4.9  
    4.10  TARBALL="$PACKAGE-${VERSION//./_}-src.zip"
    4.11  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/python-ipaddress/receipt	Mon Jun 13 19:39:39 2022 +0000
     5.3 @@ -0,0 +1,37 @@
     5.4 +# SliTaz package receipt.
     5.5 +
     5.6 +PACKAGE="python-ipaddress"
     5.7 +VERSION="1.0.23"
     5.8 +CATEGORY="development"
     5.9 +SHORT_DESC="Port of the 3.3+ ipaddress module."
    5.10 +MAINTAINER="pascal.bellard@slitaz.org"
    5.11 +LICENSE="GPL2"
    5.12 +WEB_SITE="https://pypi.org/project/ipaddress/"
    5.13 +
    5.14 +SOURCE="ipaddress"
    5.15 +TARBALL="$SOURCE-$VERSION.tar.gz"
    5.16 +WGET_URL="https://files.pythonhosted.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    5.17 +
    5.18 +DEPENDS="python"
    5.19 +BUILD_DEPENDS="python python-dev python-setuptools"
    5.20 +
    5.21 +# What is the latest version available today?
    5.22 +current_version()
    5.23 +{
    5.24 +	wget -O - https://pypi.org/project/$SOURCE/ 2>/dev/null | \
    5.25 +	sed "/$SOURCE-/!d;/tar/!d;s|.*$SOURCE-||;s|.tar.*||;q"
    5.26 +}
    5.27 +
    5.28 +# Rules to configure and make the package.
    5.29 +compile_rules()
    5.30 +{
    5.31 +	python setup.py install --prefix=/usr --root=$DESTDIR
    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
    5.38 +
    5.39 +	cp -a $install/usr/lib	$fs/usr/
    5.40 +}
     6.1 --- a/sshproxy/receipt	Sat Jun 11 11:22:52 2022 +0000
     6.2 +++ b/sshproxy/receipt	Mon Jun 13 19:39:39 2022 +0000
     6.3 @@ -11,8 +11,8 @@
     6.4  WGET_URL="https://mirror.xtom.jp/debian-archive/debian/pool/main/s/sshproxy/$TARBALL"
     6.5  TAGS="ssh"
     6.6  
     6.7 -DEPENDS="python paramiko python-mysql pycrypto"
     6.8 -BUILD_DEPENDS="paramiko python-mysql pycrypto"
     6.9 +DEPENDS="python paramiko python-mysql pycrypto python-ipaddress"
    6.10 +BUILD_DEPENDS="paramiko python-mysql pycrypto python-ipaddress"
    6.11  
    6.12  # What is the latest version available today?
    6.13  current_version()