wok annotate ntl/receipt @ rev 22834

webgames: add loderunner & digger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 09 16:49:37 2020 +0100 (2020-02-09)
parents 4e805e1b2e7b
children 3fb4857df70a
rev   line source
al@13723 1 # SliTaz package receipt.
al@13723 2
al@13723 3 PACKAGE="ntl"
al@13723 4 VERSION="5.5.2"
al@13723 5 CATEGORY="utilities"
al@13723 6 SHORT_DESC="A Library for doing Number Theory"
al@13723 7 MAINTAINER="al.bobylev@gmail.com"
pascal@15584 8 LICENSE="GPL"
al@13723 9 WEB_SITE="http://shoup.net/ntl/"
al@13723 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@13723 11 WGET_URL="$WEB_SITE/$TARBALL"
al@13723 12
al@13723 13 DEPENDS=""
al@13723 14 BUILD_DEPENDS="gmp-dev gf2x-dev libtool"
al@13723 15
al@13723 16 # Rules to configure and make the package.
al@13723 17 compile_rules()
al@13723 18 {
al@13723 19 cd $src/src
al@13723 20 ./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \
al@13723 21 DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on &&
al@13723 22 make &&
al@13723 23 sed -i '/^DEF_PREFIX=\/usr$/d' makefile
al@13723 24 make DEF_PREFIX=$install/usr install
al@13723 25 }
al@13723 26
al@13723 27 # Rules to gen a SliTaz package suitable for Tazpkg.
al@13723 28 genpkg_rules()
al@13723 29 {
al@13723 30 cp -a $install/* $fs
al@13723 31 }