wok-current diff ntl/receipt @ rev 14027

dropbear: add pppssh
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 18 09:47:47 2013 +0100 (2013-02-18)
parents
children 3765f181a6d5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ntl/receipt	Mon Feb 18 09:47:47 2013 +0100
     1.3 @@ -0,0 +1,30 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ntl"
     1.7 +VERSION="5.5.2"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="A Library for doing Number Theory"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +WEB_SITE="http://shoup.net/ntl/"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WGET_URL="$WEB_SITE/$TARBALL"
    1.14 +
    1.15 +DEPENDS=""
    1.16 +BUILD_DEPENDS="gmp-dev gf2x-dev libtool"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	cd $src/src
    1.22 +	./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \
    1.23 +		DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on &&
    1.24 +	make &&
    1.25 +	sed -i '/^DEF_PREFIX=\/usr$/d' makefile
    1.26 +	make DEF_PREFIX=$install/usr install
    1.27 +}
    1.28 +
    1.29 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 +genpkg_rules()
    1.31 +{
    1.32 +	cp -a $install/* $fs
    1.33 +}