wok-current rev 24105

Add bindfs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 25 16:21:20 2021 +0000 (2021-09-25)
parents 68e1e2f938b4
children 63fa34c8d2fa
files bindfs/receipt libwww-perl/receipt sshpass/receipt xarchive/receipt xchm/receipt yagf/receipt zsnes/receipt zssh/receipt zvbi/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/bindfs/receipt	Sat Sep 25 16:21:20 2021 +0000
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="bindfs"
     1.7 +VERSION="1.15.1"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Mount a directory to another location and alter permission bits."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://bindfs.org/"
    1.14 +WGET_URL="https://github.com/mpartel/bindfs/archive/refs/tags/$VERSION.tar.gz"
    1.15 +
    1.16 +DEPENDS="fuse"
    1.17 +BUILD_DEPENDS="fuse-dev autoconf automake libtool"
    1.18 +
    1.19 +current_version()
    1.20 +{
    1.21 +	wget -O - https://github.com/mpartel/bindfs/releases 2>/dev/null | \
    1.22 +	sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
    1.23 +}
    1.24 +
    1.25 +# Rules to configure and make the package.
    1.26 +compile_rules()
    1.27 +{
    1.28 +	sed -i 's|-Wpedantic ||' configure.ac
    1.29 +	./autogen.sh
    1.30 +	./configure --prefix=/usr \
    1.31 +	--mandir=/usr/share/man $CONFIGURE_ARGS &&
    1.32 +	make &&
    1.33 +	make DESTDIR=$DESTDIR install
    1.34 +}
    1.35 +
    1.36 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 +genpkg_rules()
    1.38 +{
    1.39 +	mkdir -p $fs/usr
    1.40 +	cp -a $install/usr/bin $fs/usr
    1.41 +}
     2.1 --- a/libwww-perl/receipt	Sat Sep 25 17:16:35 2021 +0100
     2.2 +++ b/libwww-perl/receipt	Sat Sep 25 16:21:20 2021 +0000
     2.3 @@ -6,7 +6,7 @@
     2.4  SHORT_DESC="A simple and consistent API to the WWW in PERL."
     2.5  MAINTAINER="pascal.bellard@slitaz.org"
     2.6  LICENSE="GPL"
     2.7 -WEB_SITE="http://cpan.org/"
     2.8 +WEB_SITE="https://metacpan.org/dist/libwww-perl"
     2.9  
    2.10  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.11  WGET_URL="https://cpan.metacpan.org/authors/id/O/OA/OALDERS/$TARBALL"
    2.12 @@ -14,6 +14,12 @@
    2.13  DEPENDS="perl-io perl-module-metadata"
    2.14  BUILD_DEPENDS="$DEPENDS"
    2.15  
    2.16 +current_version()
    2.17 +{
    2.18 +	wget -O - $WEB_SITE 2>/dev/null | \
    2.19 +	sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
    2.20 +}
    2.21 +
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
     3.1 --- a/sshpass/receipt	Sat Sep 25 17:16:35 2021 +0100
     3.2 +++ b/sshpass/receipt	Sat Sep 25 16:21:20 2021 +0000
     3.3 @@ -13,6 +13,13 @@
     3.4  
     3.5  SUGGESTED="openssh"
     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-\\(.*\\).tar.*|\\1|;q"
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/xarchive/receipt	Sat Sep 25 17:16:35 2021 +0100
     4.2 +++ b/xarchive/receipt	Sat Sep 25 16:21:20 2021 +0000
     4.3 @@ -15,6 +15,13 @@
     4.4  DEPENDS="gtk+ xorg-libXdamage"
     4.5  BUILD_DEPENDS="pkg-config gtk+ gtk+-dev"
     4.6  
     4.7 +current_version()
     4.8 +{
     4.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 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.ls sr	
    4.15  compile_rules()
    4.16  {
     5.1 --- a/xchm/receipt	Sat Sep 25 17:16:35 2021 +0100
     5.2 +++ b/xchm/receipt	Sat Sep 25 16:21:20 2021 +0000
     5.3 @@ -13,6 +13,12 @@
     5.4  DEPENDS="wxWidgets28 chmlib xorg-libXdamage xorg-libXxf86vm"
     5.5  BUILD_DEPENDS="wxWidgets28-dev chmlib-dev"
     5.6  
     5.7 +current_version()
     5.8 +{
     5.9 +	wget -O - $WEB_SITE/releases 2>/dev/null | \
    5.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).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/yagf/receipt	Sat Sep 25 17:16:35 2021 +0100
     6.2 +++ b/yagf/receipt	Sat Sep 25 16:21:20 2021 +0000
     6.3 @@ -14,6 +14,12 @@
     6.4  BUILD_DEPENDS="cmake Qt4-dev qmake aspell-dev"
     6.5  SUGGESTED="tesseract-ocr xsane"
     6.6  
     6.7 +current_version()
     6.8 +{
     6.9 +	wget -O - https://sourceforge.net/projects/yagf-ocr/files/ 2>/dev/null | \
    6.10 +	sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|;q"
    6.11 +}
    6.12 +
    6.13  # Rules to configure and make the package.
    6.14  compile_rules()
    6.15  {
     7.1 --- a/zsnes/receipt	Sat Sep 25 17:16:35 2021 +0100
     7.2 +++ b/zsnes/receipt	Sat Sep 25 16:21:20 2021 +0000
     7.3 @@ -15,9 +15,16 @@
     7.4  BUILD_DEPENDS="$DEPENDS nasm libsdl-dev libpng-dev ncurses-dev mesa-dev \
     7.5  automake autoconf zlib-dev patch"
     7.6  
     7.7 +current_version()
     7.8 +{
     7.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    7.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    7.11 +	sed '/zip/!d;s|.*ZSNES v||;s|/.*||;q'
    7.12 +}
    7.13 +
    7.14  # Rules to configure and make the package.
    7.15 -
    7.16 -compile_rules() {
    7.17 +compile_rules()
    7.18 +{
    7.19    export LDFLAGS="$LDFLAGS -ltinfo"
    7.20    cd $src
    7.21    patch -p1 -i $stuff/zsnes.patch 
     8.1 --- a/zssh/receipt	Sat Sep 25 17:16:35 2021 +0100
     8.2 +++ b/zssh/receipt	Sat Sep 25 16:21:20 2021 +0000
     8.3 @@ -14,6 +14,13 @@
     8.4  DEPENDS="readline lrzsz"
     8.5  BUILD_DEPENDS="readline-dev ncurses-dev"
     8.6  
     8.7 +current_version()
     8.8 +{
     8.9 +	wget -O - https://sourceforge.net/projects/$PACKAGE/files/ 2>/dev/null | \
    8.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    8.11 +	sed '/tgz/!d;s|.*zssh-||;s|.tgz.*||;q'
    8.12 +}
    8.13 +
    8.14  # Rules to configure and make the package.
    8.15  compile_rules()
    8.16  {
     9.1 --- a/zvbi/receipt	Sat Sep 25 17:16:35 2021 +0100
     9.2 +++ b/zvbi/receipt	Sat Sep 25 16:21:20 2021 +0000
     9.3 @@ -14,6 +14,13 @@
     9.4  DEPENDS="libpng xorg-libX11"
     9.5  BUILD_DEPENDS="libpng-dev xorg-libX11-dev zlib-dev"
     9.6  
     9.7 +current_version()
     9.8 +{
     9.9 +	wget -O - https://sourceforge.net/projects/zapping/files/zvbi/ 2>/dev/null | \
    9.10 +	sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
    9.11 +	sed '/scope="row/!d;s|.*/zvbi/||;s|/.*||;q'
    9.12 +}
    9.13 +
    9.14  # Rules to configure and make the package.
    9.15  compile_rules()
    9.16  {