wok annotate npth/receipt @ rev 25148
updated privoxy (3.0.28 -> 3.0.33)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 29 16:30:00 2022 +0100 (2022-06-29) |
parents | 70356dd15554 |
children |
rev | line source |
---|---|
al@19226 | 1 # SliTaz package receipt. |
al@19226 | 2 |
al@19226 | 3 PACKAGE="npth" |
Hans-G?nter@21585 | 4 VERSION="1.6" |
al@19226 | 5 CATEGORY="security" |
Hans-G?nter@21585 | 6 SHORT_DESC="The new GNU portable threads library." |
al@19226 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19226 | 8 LICENSE="GPL2 LGPL3" |
Hans-G?nter@21585 | 9 WEB_SITE="https://www.gnupg.org/software/npth/" |
Hans-G?nter@21585 | 10 |
al@19226 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
Hans-G?nter@21585 | 12 WGET_URL="https://www.gnupg.org/ftp/gcrypt/$PACKAGE/$TARBALL" |
al@19226 | 13 |
al@19226 | 14 DEPENDS="glibc-base" |
al@19226 | 15 |
pascal@24453 | 16 # What is the latest version available today? |
pascal@24453 | 17 current_version() |
pascal@24453 | 18 { |
pascal@24453 | 19 wget -O - ${WGET_URL%/*}/ 2>/dev/null | \ |
pascal@24453 | 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q |
pascal@24453 | 21 } |
pascal@24453 | 22 |
al@19226 | 23 # Rules to configure and make the package. |
al@19226 | 24 compile_rules() |
al@19226 | 25 { |
al@19226 | 26 # Integrity check: https://www.gnupg.org/download/integrity_check.html |
Hans-G?nter@21585 | 27 echo "f9d63e9747b027e4e404fe3c20c73c73719e1731 $SRC/$TARBALL" | sha1sum -c || exit 1 |
al@19226 | 28 |
Hans-G?nter@21585 | 29 ./configure $CONFIGURE_ARGS && |
Hans-G?nter@21585 | 30 make && |
Hans-G?nter@21585 | 31 make install |
al@19226 | 32 } |
al@19226 | 33 |
al@19226 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19226 | 35 genpkg_rules() |
al@19226 | 36 { |
al@19226 | 37 mkdir -p $fs/usr/lib |
al@19226 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@19226 | 39 } |