wok-current rev 25364
cpige: apply gibor patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 14:38:50 2022 +0000 (2022-07-28) |
parents | 73e5a39701e3 |
children | 9753324921b9 |
files | cpige/receipt libmpd/receipt pv/receipt |
line diff
1.1 --- a/cpige/receipt Thu Jul 28 08:19:17 2022 +0000 1.2 +++ b/cpige/receipt Thu Jul 28 14:38:50 2022 +0000 1.3 @@ -27,6 +27,8 @@ 1.4 { 1.5 sed -i 's|-static ||' Makefile 1.6 1.7 + patch -p1 < $stuff/cpige.patch 1.8 + 1.9 # build CLI program 1.10 make clean && 1.11 make
2.1 --- a/libmpd/receipt Thu Jul 28 08:19:17 2022 +0000 2.2 +++ b/libmpd/receipt Thu Jul 28 14:38:50 2022 +0000 2.3 @@ -14,13 +14,21 @@ 2.4 DEPENDS="glib" 2.5 BUILD_DEPENDS="pkg-config glib-dev" 2.6 2.7 +# What is the latest version available today? 2.8 +current_version() 2.9 +{ 2.10 + wget -O - https://download.sarine.nl/Programs/gmpc/$( \ 2.11 + wget -O - https://download.sarine.nl/Programs/gmpc/ 2>/dev/null | \ 2.12 + sed '/folder/!d;/old\//d;s|.*href="||;s|/".*||' | sort -Vr | sed q)/ 2>/dev/null | \ 2.13 + sed '/libmpd-/!d;s|.*href="libmpd-||;s|.tar.*||' | sort -Vr | sed q 2.14 +} 2.15 + 2.16 # Rules to configure and make the package. 2.17 - 2.18 -compile_rules() { 2.19 - cd $src 2.20 - ./configure --prefix=/usr $CONFIGURE_ARGS && 2.21 - make && 2.22 - make DESTDIR=$DESTDIR install 2.23 +compile_rules() 2.24 +{ 2.25 + ./configure --prefix=/usr $CONFIGURE_ARGS && 2.26 + make && 2.27 + make DESTDIR=$DESTDIR install 2.28 } 2.29 2.30 # Rules to gen a SliTaz package suitable for Tazpkg.
3.1 --- a/pv/receipt Thu Jul 28 08:19:17 2022 +0000 3.2 +++ b/pv/receipt Thu Jul 28 14:38:50 2022 +0000 3.3 @@ -6,10 +6,10 @@ 3.4 SHORT_DESC="Pipe viewer for monitoring data through a pipeline." 3.5 MAINTAINER="allan316@gmail.com" 3.6 LICENSE="Artistic" 3.7 -WEB_SITE="https://www.ivarch.com/programs/pv.shtml" 3.8 +WEB_SITE="https://github.com/a-j-wood/pv" 3.9 3.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 3.11 -WGET_URL="https://www.ivarch.com/programs/sources/$TARBALL" 3.12 +WGET_URL="https://github.com/a-j-wood/pv/releases/download/v$VERSION/$TARBALL" 3.13 3.14 DEPENDS="" 3.15 BUILD_DEPENDS="gettext"