wok view npth/receipt @ rev 24765

afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 17:45:47 2022 +0000 (2022-03-18)
parents 70356dd15554
children
line source
1 # SliTaz package receipt.
3 PACKAGE="npth"
4 VERSION="1.6"
5 CATEGORY="security"
6 SHORT_DESC="The new GNU portable threads library."
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2 LGPL3"
9 WEB_SITE="https://www.gnupg.org/software/npth/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/$PACKAGE/$TARBALL"
14 DEPENDS="glibc-base"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 # Integrity check: https://www.gnupg.org/download/integrity_check.html
27 echo "f9d63e9747b027e4e404fe3c20c73c73719e1731 $SRC/$TARBALL" | sha1sum -c || exit 1
29 ./configure $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }