wok-current view npth/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
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 }