wok-current annotate ntl/receipt @ rev 23884

ntl, sdcc: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 15 11:18:08 2020 +0000 (2020-07-15)
parents 3fb4857df70a
children 86f5a6f059cb
rev   line source
al@13723 1 # SliTaz package receipt.
al@13723 2
al@13723 3 PACKAGE="ntl"
Hans-G?nter@23253 4 VERSION="11.4.3"
al@13723 5 CATEGORY="utilities"
Hans-G?nter@23253 6 SHORT_DESC="A Library for doing Number Theory."
al@13723 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15584 8 LICENSE="GPL"
Hans-G?nter@23253 9 WEB_SITE="https://shoup.net/ntl/"
Hans-G?nter@23253 10
al@13723 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13723 12 WGET_URL="$WEB_SITE/$TARBALL"
al@13723 13
al@13723 14 DEPENDS=""
pascal@23884 15 BUILD_DEPENDS="gcc83 gcc83-lib-base gf2x-dev glibc-dev gmp-dev libtool perl"
al@13723 16
al@13723 17 # Rules to configure and make the package.
al@13723 18 compile_rules()
al@13723 19 {
Hans-G?nter@23253 20 export CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer"
Hans-G?nter@23253 21
Hans-G?nter@23253 22 ./configure \
Hans-G?nter@23253 23 CXX=g++-83 \
Hans-G?nter@23253 24 DEF_PREFIX=/usr \
Hans-G?nter@23253 25 NTL_STD_CXX11=on \
Hans-G?nter@23253 26 NTL_GMP_LIP=on \
Hans-G?nter@23253 27 NTL_GF2X_LIB=on &&
al@13723 28 make &&
Hans-G?nter@23253 29 sed -i '/^DEF_PREFIX=\/usr$/d' makefile &&
al@13723 30 make DEF_PREFIX=$install/usr install
al@13723 31 }
al@13723 32
al@13723 33 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 34 genpkg_rules()
al@13723 35 {
Hans-G?nter@23253 36 cp -a $install/* $fs
al@13723 37 }