wok-next diff npth/receipt @ rev 20157

openmotif: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 16:53:21 2017 +0100 (2017-11-01)
parents ac006a7bf27c
children d43bf7aae921
line diff
     1.1 --- a/npth/receipt	Thu Jun 23 01:40:19 2016 +0300
     1.2 +++ b/npth/receipt	Wed Nov 01 16:53:21 2017 +0100
     1.3 @@ -1,29 +1,31 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="npth"
     1.8 -VERSION="1.2"
     1.9 +VERSION="1.5"
    1.10  CATEGORY="security"
    1.11  SHORT_DESC="The new GNU portable threads library"
    1.12  MAINTAINER="al.bobylev@gmail.com"
    1.13  LICENSE="GPL2 LGPL3"
    1.14  WEB_SITE="https://www.gnupg.org/related_software/npth/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="https://www.gnupg.org/ftp/gcrypt/npth/$TARBALL"
    1.18 +# https://www.gnupg.org/download/integrity_check.html
    1.19 +TARBALL_SHA1="93ddf1a3bdbca00fb4cf811498094ca61bbb8ee1"
    1.20  
    1.21 -DEPENDS="glibc-base"
    1.22 +SPLIT="npth-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.28 -	echo "3bfa2a2d7521d6481850e8a611efe5bf5ed75200  $SRC/$TARBALL" | sha1sum -c || exit 1
    1.29 -
    1.30  	./configure $CONFIGURE_ARGS && make && make install
    1.31  }
    1.32  
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	mkdir -p $fs/usr/lib
    1.37 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.38 +	case $PACKAGE in
    1.39 +		npth) copy @std;;
    1.40 +		*-dev) copy @dev;;
    1.41 +	esac
    1.42  }