wok-next view npth/receipt @ rev 21094

Apply "force-arch" for selected dev packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 31 17:23:40 2018 +0200 (2018-12-31)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
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/related_software/npth/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/npth.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://www.gnupg.org/ftp/gcrypt/npth/$TARBALL"
14 # https://www.gnupg.org/download/integrity_check.html
15 TARBALL_SHA1="f9d63e9747b027e4e404fe3c20c73c73719e1731"
17 COOKOPTS="force-arch" # different configs, .h
19 SPLIT="$PACKAGE-dev"
21 compile_rules() {
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 npth) copy @std;;
31 *-dev) copy @dev;;
32 esac
33 }