wok diff npth/receipt @ rev 20238

Add dahdi-linux64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 09 16:02:56 2018 +0100 (2018-03-09)
parents
children b3340c8e1ed1
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/npth/receipt	Fri Mar 09 16:02:56 2018 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="npth"
     1.7 +VERSION="1.2"
     1.8 +CATEGORY="security"
     1.9 +SHORT_DESC="The new GNU portable threads library"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="GPL2 LGPL3"
    1.12 +WEB_SITE="https://www.gnupg.org/related_software/npth/"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14 +WGET_URL="https://www.gnupg.org/ftp/gcrypt/npth/$TARBALL"
    1.15 +
    1.16 +DEPENDS="glibc-base"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	# Integrity check: https://www.gnupg.org/download/integrity_check.html
    1.22 +	echo "3bfa2a2d7521d6481850e8a611efe5bf5ed75200  $SRC/$TARBALL" | sha1sum -c || exit 1
    1.23 +
    1.24 +	./configure $CONFIGURE_ARGS && make && make install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib
    1.31 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.32 +}