# HG changeset patch # User Pascal Bellard # Date 1632586880 0 # Node ID c365fe17a816b6f1ac8f86d654812e943c67c554 # Parent 68e1e2f938b4e7ed9de76f5fee02f53989cbba72 Add bindfs diff -r 68e1e2f938b4 -r c365fe17a816 bindfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bindfs/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -0,0 +1,38 @@ +# SliTaz package receipt. + +PACKAGE="bindfs" +VERSION="1.15.1" +CATEGORY="system-tools" +SHORT_DESC="Mount a directory to another location and alter permission bits." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL2" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://bindfs.org/" +WGET_URL="https://github.com/mpartel/bindfs/archive/refs/tags/$VERSION.tar.gz" + +DEPENDS="fuse" +BUILD_DEPENDS="fuse-dev autoconf automake libtool" + +current_version() +{ + wget -O - https://github.com/mpartel/bindfs/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q' +} + +# Rules to configure and make the package. +compile_rules() +{ + sed -i 's|-Wpedantic ||' configure.ac + ./autogen.sh + ./configure --prefix=/usr \ + --mandir=/usr/share/man $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/bin $fs/usr +} diff -r 68e1e2f938b4 -r c365fe17a816 libwww-perl/receipt --- a/libwww-perl/receipt Sat Sep 25 17:16:35 2021 +0100 +++ b/libwww-perl/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -6,7 +6,7 @@ SHORT_DESC="A simple and consistent API to the WWW in PERL." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" -WEB_SITE="http://cpan.org/" +WEB_SITE="https://metacpan.org/dist/libwww-perl" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL" @@ -14,6 +14,12 @@ DEPENDS="perl-io perl-module-metadata" BUILD_DEPENDS="$DEPENDS" +current_version() +{ + wget -O - $WEB_SITE 2>/dev/null | \ + sed '/release-name/!d;s|.*-v*||;s|<.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 68e1e2f938b4 -r c365fe17a816 sshpass/receipt --- a/sshpass/receipt Sat Sep 25 17:16:35 2021 +0100 +++ b/sshpass/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -13,6 +13,13 @@ SUGGESTED="openssh" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 68e1e2f938b4 -r c365fe17a816 xarchive/receipt --- a/xarchive/receipt Sat Sep 25 17:16:35 2021 +0100 +++ b/xarchive/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -15,6 +15,13 @@ DEPENDS="gtk+ xorg-libXdamage" BUILD_DEPENDS="pkg-config gtk+ gtk+-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" +} + # Rules to configure and make the package.ls sr compile_rules() { diff -r 68e1e2f938b4 -r c365fe17a816 xchm/receipt --- a/xchm/receipt Sat Sep 25 17:16:35 2021 +0100 +++ b/xchm/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -13,6 +13,12 @@ DEPENDS="wxWidgets28 chmlib xorg-libXdamage xorg-libXxf86vm" BUILD_DEPENDS="wxWidgets28-dev chmlib-dev" +current_version() +{ + wget -O - $WEB_SITE/releases 2>/dev/null | \ + sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 68e1e2f938b4 -r c365fe17a816 yagf/receipt --- a/yagf/receipt Sat Sep 25 17:16:35 2021 +0100 +++ b/yagf/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -14,6 +14,12 @@ BUILD_DEPENDS="cmake Qt4-dev qmake aspell-dev" SUGGESTED="tesseract-ocr xsane" +current_version() +{ + wget -O - https://sourceforge.net/projects/yagf-ocr/files/ 2>/dev/null | \ + sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q" +} + # Rules to configure and make the package. compile_rules() { diff -r 68e1e2f938b4 -r c365fe17a816 zsnes/receipt --- a/zsnes/receipt Sat Sep 25 17:16:35 2021 +0100 +++ b/zsnes/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -15,9 +15,16 @@ BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev \ automake autoconf zlib-dev patch" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/zip/!d;s|.*ZSNES v||;s|/.*||;q' +} + # Rules to configure and make the package. - -compile_rules() { +compile_rules() +{ export LDFLAGS="$LDFLAGS -ltinfo" cd $src patch -p1 -i $stuff/zsnes.patch diff -r 68e1e2f938b4 -r c365fe17a816 zssh/receipt --- a/zssh/receipt Sat Sep 25 17:16:35 2021 +0100 +++ b/zssh/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -14,6 +14,13 @@ DEPENDS="readline lrzsz" BUILD_DEPENDS="readline-dev ncurses-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/tgz/!d;s|.*zssh-||;s|.tgz.*||;q' +} + # Rules to configure and make the package. compile_rules() { diff -r 68e1e2f938b4 -r c365fe17a816 zvbi/receipt --- a/zvbi/receipt Sat Sep 25 17:16:35 2021 +0100 +++ b/zvbi/receipt Sat Sep 25 16:21:20 2021 +0000 @@ -14,6 +14,13 @@ DEPENDS="libpng xorg-libX11" BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev" +current_version() +{ + wget -O - https://sourceforge.net/projects/zapping/files/zvbi/ 2>/dev/null | \ + sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ + sed '/scope="row/!d;s|.*/zvbi/||;s|/.*||;q' +} + # Rules to configure and make the package. compile_rules() {