wok-6.x rev 24744

ncursesw-dev: add pkg config files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 16 10:01:11 2022 +0000 (2022-03-16)
parents 7186c6ae9ee7
children e9d0b2012a0d
files hydroxygen-iconset/receipt ipaex-fonts/receipt iptables-template/receipt iron-linux/receipt irssi-scripts/receipt japanes-theme/receipt lcdnurse/receipt leocad-pieces/receipt libQtMimeTypes/receipt libctpp2/receipt libdes/receipt liberation-fonts-base/receipt libglu-mesa/receipt libglw-mesa/receipt madeirado-theme/receipt matchbox-window-manager-2/receipt mesa-wayland/receipt ncursesw-dev/receipt
line diff
     1.1 --- a/hydroxygen-iconset/receipt	Wed Mar 16 10:41:57 2022 +0100
     1.2 +++ b/hydroxygen-iconset/receipt	Wed Mar 16 10:01:11 2022 +0000
     1.3 @@ -13,6 +13,13 @@
     1.4  DEPENDS=""
     1.5  BUILD_DEPENDS=""
     1.6  
     1.7 +# What is the latest version available today?
     1.8 +current_version()
     1.9 +{
    1.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    1.11 +	sed 's|}|}\n|g;s|</|</\n|g' | sed '/dateTime=/!d;s|.*dateTime=.||;s|T.*||;s|-||g;q'
    1.12 +}
    1.13 +
    1.14  # Rules to configure and make the package.
    1.15  compile_rules()
    1.16  {
     2.1 --- a/ipaex-fonts/receipt	Wed Mar 16 10:41:57 2022 +0100
     2.2 +++ b/ipaex-fonts/receipt	Wed Mar 16 10:01:11 2022 +0000
     2.3 @@ -11,6 +11,13 @@
     2.4  TARBALL="$PACKAGE-$VERSION.zip"
     2.5  WGET_URL="http://dl.ipafont.ipa.go.jp/IPAexfont/IPAexfont${VERSION/./}.zip"
     2.6  
     2.7 +# What is the latest version available today?
     2.8 +current_version()
     2.9 +{
    2.10 +	wget -O - https://ctan.org/tex-archive/fonts/ipaex 2>/dev/null | \
    2.11 +	sed '/^20[0-9][0-9]-/!d;/IPAex /!d;s|.*IPAex ||;s|,.*||;q'
    2.12 +}
    2.13 +
    2.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.15  genpkg_rules()
    2.16  {
     3.1 --- a/iptables-template/receipt	Wed Mar 16 10:41:57 2022 +0100
     3.2 +++ b/iptables-template/receipt	Wed Mar 16 10:01:11 2022 +0000
     3.3 @@ -13,6 +13,13 @@
     3.4  
     3.5  BUILD_DEPENDS="wget"
     3.6  
     3.7 +# What is the latest version available today?
     3.8 +current_version()
     3.9 +{
    3.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    3.11 +	sed '/archive/!d;s|.*archive/||;s|.zip.*||;q' | cut -c1-7
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/iron-linux/receipt	Wed Mar 16 10:41:57 2022 +0100
     4.2 +++ b/iron-linux/receipt	Wed Mar 16 10:01:11 2022 +0000
     4.3 @@ -13,6 +13,13 @@
     4.4  
     4.5  DEPENDS="bash nss libfirefox GConf libcups libjpeg62 libpng libffi x264" # may need updating?
     4.6  
     4.7 +# What is the latest version available today?
     4.8 +current_version()
     4.9 +{
    4.10 +	wget -O - 'https://www.srware.net/forum/search.php?keywords=iron-linux' 2>/dev/null | \
    4.11 +	sed '/Stable for Linux/!d;s|.*Version: ||;s| Stable.*||;q'
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15  compile_rules()
    4.16  {
     5.1 --- a/irssi-scripts/receipt	Wed Mar 16 10:41:57 2022 +0100
     5.2 +++ b/irssi-scripts/receipt	Wed Mar 16 10:01:11 2022 +0000
     5.3 @@ -13,6 +13,13 @@
     5.4  DEPENDS="irssi"
     5.5  BUILD_DEPENDS=""
     5.6  
     5.7 +# What is the latest version available today?
     5.8 +current_version()
     5.9 +{
    5.10 +	wget -O - https://github.com/irssi/scripts.irssi.org/commits/master 2>/dev/null | \
    5.11 +	sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
    5.12 +}
    5.13 +
    5.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.15  genpkg_rules()
    5.16  {
     6.1 --- a/japanes-theme/receipt	Wed Mar 16 10:41:57 2022 +0100
     6.2 +++ b/japanes-theme/receipt	Wed Mar 16 10:01:11 2022 +0000
     6.3 @@ -15,6 +15,13 @@
     6.4  DEPENDS="gtk-clearlooks openbox"
     6.5  BUILD_DEPENDS="wget"
     6.6  
     6.7 +# What is the latest version available today?
     6.8 +current_version()
     6.9 +{
    6.10 +	wget -O - $WEB_SITE 2>/dev/null | \
    6.11 +	sed 's|}|}\n|g;s|</|</\n|g' | sed '/dateTime=/!d;s|.*dateTime=.||;s|T.*||;s|-||g;q'
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/lcdnurse/receipt	Wed Mar 16 10:41:57 2022 +0100
     7.2 +++ b/lcdnurse/receipt	Wed Mar 16 10:01:11 2022 +0000
     7.3 @@ -13,6 +13,13 @@
     7.4  DEPENDS="wxWidgets28"
     7.5  BUILD_DEPENDS="wxWidgets28-dev"
     7.6  
     7.7 +# What is the latest version available today?
     7.8 +current_version()
     7.9 +{
    7.10 +	wget -O - https://www.mmnt.net/db/0/0/37.187.4.13/lcdnurse/source 2>/dev/null | \
    7.11 +	sed '/lcdnurse-/!d;s|.*lcdnurse-||;s|<.*||' | sort -Vr | sed q
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/leocad-pieces/receipt	Wed Mar 16 10:41:57 2022 +0100
     8.2 +++ b/leocad-pieces/receipt	Wed Mar 16 10:01:11 2022 +0000
     8.3 @@ -11,6 +11,13 @@
     8.4  WEB_SITE="https://www.leocad.org/"
     8.5  WGET_URL="http://leocad.googlecode.com/files/$TARBALL"
     8.6  
     8.7 +# What is the latest version available today?
     8.8 +current_version()
     8.9 +{
    8.10 +	wget -O - https://github.com/leozide/leocad/releases 2>/dev/null | \
    8.11 +	sed '/Library/!d;s|.*Library[^0-9]*||;s|.zip.*||;q'
    8.12 +}
    8.13 +
    8.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    8.15  genpkg_rules()
    8.16  {
     9.1 --- a/libQtMimeTypes/receipt	Wed Mar 16 10:41:57 2022 +0100
     9.2 +++ b/libQtMimeTypes/receipt	Wed Mar 16 10:01:11 2022 +0000
     9.3 @@ -14,6 +14,13 @@
     9.4  DEPENDS="libQtCore"
     9.5  BUILD_DEPENDS="wget cacerts Qt4-dev qmake"
     9.6  
     9.7 +# What is the latest version available today?
     9.8 +current_version()
     9.9 +{
    9.10 +	wget -O - https://code.qt.io/cgit/playground/mimetypes.git/refs/ 2>/dev/null | \
    9.11 +	sed '/\/tag\//!d;s|.*h=v||;s|.>.*||;q'
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/libctpp2/receipt	Wed Mar 16 10:41:57 2022 +0100
    10.2 +++ b/libctpp2/receipt	Wed Mar 16 10:01:11 2022 +0000
    10.3 @@ -15,6 +15,13 @@
    10.4  DEPENDS="gcc-lib-base"
    10.5  BUILD_DEPENDS="cmake"
    10.6  
    10.7 +# What is the latest version available today?
    10.8 +current_version()
    10.9 +{
   10.10 +	wget -O - https://ftp.nluug.nl/kiwix/dev/ 2>/dev/null | \
   10.11 +	sed '/ctpp2-[0-9]/!d;s|.*ctpp2-||;s|.t.*||' | sort -Vr | sed q
   10.12 +}
   10.13 +
   10.14  # Rules to configure and make the package.
   10.15  compile_rules()
   10.16  {
    11.1 --- a/libdes/receipt	Wed Mar 16 10:41:57 2022 +0100
    11.2 +++ b/libdes/receipt	Wed Mar 16 10:01:11 2022 +0000
    11.3 @@ -10,6 +10,13 @@
    11.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
    11.5  WGET_URL="ftp://ftp.kfki.hu/pub/packages/security/ssh/ossh/$TARBALL"
    11.6  
    11.7 +# What is the latest version available today?
    11.8 +current_version()
    11.9 +{
   11.10 +	wget -O - http://cryptography.dk/cmview/View?id=10010 2>/dev/null | \
   11.11 +	sed '/libdes-[0-9]/!d;s|.*libdes-\([0-9]\)|\1|;s|.t.*|\n|;q'
   11.12 +}
   11.13 +
   11.14  # Rules to configure and make the package.
   11.15  compile_rules()
   11.16  {
    12.1 --- a/liberation-fonts-base/receipt	Wed Mar 16 10:41:57 2022 +0100
    12.2 +++ b/liberation-fonts-base/receipt	Wed Mar 16 10:01:11 2022 +0000
    12.3 @@ -13,6 +13,13 @@
    12.4  
    12.5  BUILD_DEPENDS="wget"
    12.6  
    12.7 +# What is the latest version available today?
    12.8 +current_version()
    12.9 +{
   12.10 +	wget -O - https://github.com/liberationfonts/liberation-fonts/releases 2>/dev/null | \
   12.11 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
   12.12 +}
   12.13 +
   12.14  # Rules to gen a SliTaz package suitable for Tazpkg.
   12.15  genpkg_rules()
   12.16  {
    13.1 --- a/libglu-mesa/receipt	Wed Mar 16 10:41:57 2022 +0100
    13.2 +++ b/libglu-mesa/receipt	Wed Mar 16 10:01:11 2022 +0000
    13.3 @@ -14,6 +14,13 @@
    13.4  DEPENDS="glibc-base gcc-lib-base mesa"
    13.5  BUILD_DEPENDS="mesa-dev automake autoconf libtool file"
    13.6  
    13.7 +# What is the latest version available today?
    13.8 +current_version()
    13.9 +{
   13.10 +	wget -O - https://cgit.freedesktop.org/mesa/glu/ 2>/dev/null | \
   13.11 +	sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q'
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package.
   13.15  compile_rules()
   13.16  {
    14.1 --- a/libglw-mesa/receipt	Wed Mar 16 10:41:57 2022 +0100
    14.2 +++ b/libglw-mesa/receipt	Wed Mar 16 10:01:11 2022 +0000
    14.3 @@ -16,6 +16,13 @@
    14.4  lesstif"
    14.5  BUILD_DEPENDS="mesa-dev automake autoconf libtool util-linux-uuid-dev file"
    14.6  
    14.7 +# What is the latest version available today?
    14.8 +current_version()
    14.9 +{
   14.10 +	wget -O - https://cgit.freedesktop.org/mesa/glw/ 2>/dev/null | \
   14.11 +	sed '/ [0-9]\.[0-9]\.[0-9]/!d;s|.* \([0-9]\.[0-9]\.[0-9]\).*|\1|;q'
   14.12 +}
   14.13 +
   14.14  # Rules to configure and make the package.
   14.15  compile_rules()
   14.16  {
    15.1 --- a/madeirado-theme/receipt	Wed Mar 16 10:41:57 2022 +0100
    15.2 +++ b/madeirado-theme/receipt	Wed Mar 16 10:01:11 2022 +0000
    15.3 @@ -15,6 +15,13 @@
    15.4  DEPENDS="gtk-clearlooks openbox slim"
    15.5  BUILD_DEPENDS="wget imagemagick"
    15.6  
    15.7 +# What is the latest version available today?
    15.8 +current_version()
    15.9 +{
   15.10 +	wget -O - $WEB_SITE 2>/dev/null | \
   15.11 +	sed 's|}|}\n|g;s|</|</\n|g' | sed '/dateTime=/!d;s|.*dateTime=.||;s|T.*||;s|-||g;q'
   15.12 +}
   15.13 +
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {
    16.1 --- a/matchbox-window-manager-2/receipt	Wed Mar 16 10:41:57 2022 +0100
    16.2 +++ b/matchbox-window-manager-2/receipt	Wed Mar 16 10:01:11 2022 +0000
    16.3 @@ -14,6 +14,13 @@
    16.4  DEPENDS="gtk+"
    16.5  BUILD_DEPENDS="gtk+-dev subversion libffi autoconf automake libtool expat-dev"
    16.6  
    16.7 +# What is the latest version available today?
    16.8 +current_version()
    16.9 +{
   16.10 +	wget -O - https://git.yoctoproject.org/libmatchboxwm2/ 2>/dev/null | \
   16.11 +	sed '/title=.[0-9]/!d;s|.*title=.||;s| .*||;s|-||g;q'
   16.12 +}
   16.13 +
   16.14  # Rules to configure and make the package.
   16.15  compile_rules()
   16.16  {
    17.1 --- a/mesa-wayland/receipt	Wed Mar 16 10:41:57 2022 +0100
    17.2 +++ b/mesa-wayland/receipt	Wed Mar 16 10:01:11 2022 +0000
    17.3 @@ -30,6 +30,13 @@
    17.4  		libpthread-stubs-dev libtool llvm talloc xorg-imake xorg-makedepend" ;;
    17.5  esac
    17.6  
    17.7 +# What is the latest version available today?
    17.8 +current_version()
    17.9 +{
   17.10 +	wget -O - 'https://gitlab.freedesktop.org/mesa/mesa/-/tags?sort=updated_desc' 2>/dev/null | \
   17.11 +	sed '/item-title/!d;/-rc/d;s|.*">[a-z-]*||;s|<.*||;q'
   17.12 +}
   17.13 +
   17.14  # Rules to configure and make the package.
   17.15  compile_rules()
   17.16  {
    18.1 --- a/ncursesw-dev/receipt	Wed Mar 16 10:41:57 2022 +0100
    18.2 +++ b/ncursesw-dev/receipt	Wed Mar 16 10:01:11 2022 +0000
    18.3 @@ -8,7 +8,7 @@
    18.4  LICENSE="MIT"
    18.5  WEB_SITE="https://www.gnu.org/software/ncurses/ncurses.html"
    18.6  
    18.7 -DEPENDS="ncursesw" # pkg-config
    18.8 +DEPENDS="ncursesw pkg-config"
    18.9  WANTED="ncursesw"
   18.10  
   18.11  HOST_ARCH="i486 arm"
   18.12 @@ -18,12 +18,12 @@
   18.13  {
   18.14  	mkdir -p $fs/lib
   18.15  	mkdir -p $fs/usr/bin
   18.16 -#	mkdir -p $fs/usr/lib
   18.17 +	mkdir -p $fs/usr/lib
   18.18  
   18.19  	cp -a $install/lib/*.a			$fs/lib
   18.20  	# Include files are from the same source than ncuses-dev and work
   18.21  	# nicely for both.
   18.22  	cp -a $install/usr/include		$fs/usr
   18.23  	cp $install/usr/bin/ncursesw6-config	$fs/usr/bin
   18.24 -#	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   18.25 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
   18.26  }