wok rev 24082

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 09 18:20:09 2021 +0000 (2021-07-09)
parents e424d38736d6
children a3c45ab9082e
files cinepaint/receipt davmail/receipt e4rat/receipt gxine/receipt ntop/receipt paulstretch/receipt pidgin/receipt podofo/receipt qbittorrent/receipt remmina/receipt ruby-gtk2/receipt s3ql/receipt splix/receipt tuxpaint/receipt ufraw/receipt
line diff
     1.1 --- a/cinepaint/receipt	Fri Jul 09 16:30:40 2021 +0000
     1.2 +++ b/cinepaint/receipt	Fri Jul 09 18:20:09 2021 +0000
     1.3 @@ -17,6 +17,12 @@
     1.4  ilmbase-dev xorg-libXpm-dev gtk+-dev libpng-dev bash automake autoconf libtool \
     1.5  python-dev"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - https://sourceforge.net/projects/cinepaint/files/CinePaint/ 2>/dev/null | \
    1.10 +	sed '/CinePaint-/!d;/in32/d;s|.*CinePaint-\(.*\).src.*".*|\1|;q'
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
     2.1 --- a/davmail/receipt	Fri Jul 09 16:30:40 2021 +0000
     2.2 +++ b/davmail/receipt	Fri Jul 09 18:20:09 2021 +0000
     2.3 @@ -13,6 +13,13 @@
     2.4  DEPENDS="java-jre"
     2.5  BUILD_DEPENDS="apache-ant java-jdk"
     2.6  
     2.7 +current_version()
     2.8 +{
     2.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE/ 2>/dev/null | \
    2.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    2.11 +	sed "/$PACKAGE-srconly/!d;s|.*$PACKAGE-srconly-\\(.*\\).tgz.*\".*|\\1|;q"
    2.12 +}
    2.13 +
    2.14  # Rules to configure and make the package.
    2.15  compile_rules()
    2.16  {
     3.1 --- a/e4rat/receipt	Fri Jul 09 16:30:40 2021 +0000
     3.2 +++ b/e4rat/receipt	Fri Jul 09 18:20:09 2021 +0000
     3.3 @@ -14,6 +14,13 @@
     3.4  BUILD_DEPENDS="cmake e2fsprogs-dev libboost-system-dev libboost-filesystem-dev \
     3.5  libboost-regex-dev libboost-signals-dev libboost-serialization-dev audit-dev perl"
     3.6  
     3.7 +current_version()
     3.8 +{
     3.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    3.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    3.11 +	sed "/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).src.*\".*|\\1|;q"
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/gxine/receipt	Fri Jul 09 16:30:40 2021 +0000
     4.2 +++ b/gxine/receipt	Fri Jul 09 18:20:09 2021 +0000
     4.3 @@ -15,8 +15,14 @@
     4.4  gtk+-dev xorg-libXinerama-dev xorg-libXext-dev xorg-xextproto perl \
     4.5  xorg-libXv-dev xorg-videoproto xorg-xf86vidmodeproto"
     4.6  
     4.7 +current_version()
     4.8 +{
     4.9 +	wget -O - https://sourceforge.net/projects/xine/files/$PACKAGE 2>/dev/null | \
    4.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    4.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    4.12 +}
    4.13 +
    4.14  # Rules to configure and make the package.
    4.15 -
    4.16  compile_rules()
    4.17  {
    4.18  	cd $src
     5.1 --- a/ntop/receipt	Fri Jul 09 16:30:40 2021 +0000
     5.2 +++ b/ntop/receipt	Fri Jul 09 18:20:09 2021 +0000
     5.3 @@ -18,6 +18,12 @@
     5.4  glibc-dev gdbm-dev rrdtool autoconf automake rrdtool-dev wget geoip-dev \
     5.5  libwrap libtool"
     5.6  
     5.7 +current_version()
     5.8 +{
     5.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
    5.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    5.11 +}
    5.12 +
    5.13  # Rules to configure and make the package.
    5.14  compile_rules()
    5.15  {
     6.1 --- a/paulstretch/receipt	Fri Jul 09 16:30:40 2021 +0000
     6.2 +++ b/paulstretch/receipt	Fri Jul 09 18:20:09 2021 +0000
     6.3 @@ -14,6 +14,13 @@
     6.4  BUILD_DEPENDS="fltk-dev libvorbis-dev audiofile-dev portaudio-dev libmad-dev \
     6.5  fftw-dev xorg-dev mxml-dev zlib-dev"
     6.6  
     6.7 +current_version()
     6.8 +{
     6.9 +	wget -O - https://sourceforge.net/projects/hypermammut/files/$PACKAGE 2>/dev/null | \
    6.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    6.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    6.12 +}
    6.13 +
    6.14  # Rules to configure and make the package.
    6.15  compile_rules()
    6.16  {
     7.1 --- a/pidgin/receipt	Fri Jul 09 16:30:40 2021 +0000
     7.2 +++ b/pidgin/receipt	Fri Jul 09 18:20:09 2021 +0000
     7.3 @@ -18,6 +18,13 @@
     7.4  libidn-dev libtasn1-dev intltool expat-dev nss-dev \
     7.5  ncursesw-dev xcb-util-dev gmp-dev"
     7.6  
     7.7 +current_version()
     7.8 +{
     7.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/Pidgin 2>/dev/null | \
    7.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    7.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15  compile_rules()
    7.16  {
     8.1 --- a/podofo/receipt	Fri Jul 09 16:30:40 2021 +0000
     8.2 +++ b/podofo/receipt	Fri Jul 09 18:20:09 2021 +0000
     8.3 @@ -16,6 +16,13 @@
     8.4  BUILD_DEPENDS="cmake fontconfig-dev freetype-dev jpeg-dev \
     8.5  	libcrypto-dev libpng-dev tiff-dev zlib-dev"
     8.6  
     8.7 +current_version()
     8.8 +{
     8.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
    8.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    8.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/qbittorrent/receipt	Fri Jul 09 16:30:40 2021 +0000
     9.2 +++ b/qbittorrent/receipt	Fri Jul 09 18:20:09 2021 +0000
     9.3 @@ -17,6 +17,13 @@
     9.4  	geoip openssl-dev"
     9.5  GENERIC_PIXMAPS="no"; GENERIC_MENUS="no"
     9.6  
     9.7 +current_version()
     9.8 +{
     9.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
    9.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    9.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {
    10.1 --- a/remmina/receipt	Fri Jul 09 16:30:40 2021 +0000
    10.2 +++ b/remmina/receipt	Fri Jul 09 18:20:09 2021 +0000
    10.3 @@ -18,6 +18,12 @@
    10.4  BUILD_DEPENDS="gtk+-dev intltool wget cmake libgcrypt-dev libssh-dev vte-dev \
    10.5  freerdp-dev libvncserver-dev libgnome-keyring-dev gettext telepathy-glib-dev"
    10.6  
    10.7 +current_version()
    10.8 +{
    10.9 +	wget -O - ${WGET_URL%/arch*} 2>/dev/null | \
   10.10 +	sed '/releases.tag/!d;s|.*/tag.v*\(.*\)".*|\1|;q'
   10.11 +}
   10.12 +
   10.13  # Rules to configure and make the package.
   10.14  compile_rules()
   10.15  {
    11.1 --- a/ruby-gtk2/receipt	Fri Jul 09 16:30:40 2021 +0000
    11.2 +++ b/ruby-gtk2/receipt	Fri Jul 09 18:20:09 2021 +0000
    11.3 @@ -23,6 +23,14 @@
    11.4  
    11.5  TAGS="ruby programming gtk development"
    11.6  
    11.7 +current_version()
    11.8 +{
    11.9 +	local PKG=ruby-gnome2
   11.10 +	wget -O - https://sourceforge.net/projects/$PKG/files/$PKG 2>/dev/null | \
   11.11 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   11.12 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   11.13 +}
   11.14 +
   11.15  # Rules to configure and make the package.
   11.16  compile_rules()
   11.17  {
    12.1 --- a/s3ql/receipt	Fri Jul 09 16:30:40 2021 +0000
    12.2 +++ b/s3ql/receipt	Fri Jul 09 18:20:09 2021 +0000
    12.3 @@ -15,6 +15,12 @@
    12.4  python-distribute python-llfuse python-pyliblzma python-pycryptopp python-apsw \
    12.5  python-pytest python-py python-unittest2"
    12.6  
    12.7 +current_version()
    12.8 +{
    12.9 +	wget -O - $WEB_SITE 2>/dev/null | \
   12.10 +	sed '/releases.tag/!d;s|.*/tag.release-\(.*\)".*|\1|;q'
   12.11 +}
   12.12 +
   12.13  # Rules to configure and make the package.
   12.14  compile_rules()
   12.15  {
    13.1 --- a/splix/receipt	Fri Jul 09 16:30:40 2021 +0000
    13.2 +++ b/splix/receipt	Fri Jul 09 18:20:09 2021 +0000
    13.3 @@ -14,8 +14,14 @@
    13.4  DEPENDS="cups gcc gcc-lib-base"
    13.5  BUILD_DEPENDS="cups cups-dev jbigkit"
    13.6  
    13.7 +current_version()
    13.8 +{
    13.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
   13.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   13.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   13.12 +}
   13.13 +
   13.14  # Rules to configure and make the package.
   13.15 -
   13.16  compile_rules() {
   13.17  	  cd $src
   13.18  	  sed -i 's/Value::Value &val/Value \&val/' src/ppdfile.cpp
    14.1 --- a/tuxpaint/receipt	Fri Jul 09 16:30:40 2021 +0000
    14.2 +++ b/tuxpaint/receipt	Fri Jul 09 18:20:09 2021 +0000
    14.3 @@ -17,6 +17,13 @@
    14.4  	libQtSvg librsvg-dev libsdl-dev libsdl-image-dev libsdl-mixer-dev 
    14.5  	libsdl-pango-dev libsdl-ttf-dev python-dev"
    14.6  
    14.7 +current_version()
    14.8 +{
    14.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
   14.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   14.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   14.12 +}
   14.13 +
   14.14  # Rules to configure and make the package.
   14.15  compile_rules()
   14.16  {
    15.1 --- a/ufraw/receipt	Fri Jul 09 16:30:40 2021 +0000
    15.2 +++ b/ufraw/receipt	Fri Jul 09 18:20:09 2021 +0000
    15.3 @@ -15,6 +15,13 @@
    15.4  BUILD_DEPENDS="gimp gimp-dev lcms-dev tiff-dev exiv2-dev gtk+-dev \
    15.5  libgtkimageview-dev bzip2-dev lcms2-dev"
    15.6  
    15.7 +current_version()
    15.8 +{
    15.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/$PACKAGE 2>/dev/null | \
   15.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
   15.11 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|;q"
   15.12 +}
   15.13 +
   15.14  # Rules to configure and make the package.
   15.15  compile_rules()
   15.16  {