wok annotate 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
rev   line source
al@19226 1 # SliTaz package receipt.
al@19226 2
al@19226 3 PACKAGE="npth"
al@19226 4 VERSION="1.2"
al@19226 5 CATEGORY="security"
al@19226 6 SHORT_DESC="The new GNU portable threads library"
al@19226 7 MAINTAINER="al.bobylev@gmail.com"
al@19226 8 LICENSE="GPL2 LGPL3"
al@19226 9 WEB_SITE="https://www.gnupg.org/related_software/npth/"
al@19226 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@19226 11 WGET_URL="https://www.gnupg.org/ftp/gcrypt/npth/$TARBALL"
al@19226 12
al@19226 13 DEPENDS="glibc-base"
al@19226 14
al@19226 15 # Rules to configure and make the package.
al@19226 16 compile_rules()
al@19226 17 {
al@19226 18 # Integrity check: https://www.gnupg.org/download/integrity_check.html
al@19226 19 echo "3bfa2a2d7521d6481850e8a611efe5bf5ed75200 $SRC/$TARBALL" | sha1sum -c || exit 1
al@19226 20
al@19226 21 ./configure $CONFIGURE_ARGS && make && make install
al@19226 22 }
al@19226 23
al@19226 24 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19226 25 genpkg_rules()
al@19226 26 {
al@19226 27 mkdir -p $fs/usr/lib
al@19226 28 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@19226 29 }