wok annotate ntl/receipt @ rev 14133
Up lzip (1.13)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 28 15:43:44 2013 +0100 (2013-02-28) |
parents | |
children | 3765f181a6d5 |
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" |
al@13723 | 8 WEB_SITE="http://shoup.net/ntl/" |
al@13723 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@13723 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
al@13723 | 11 |
al@13723 | 12 DEPENDS="" |
al@13723 | 13 BUILD_DEPENDS="gmp-dev gf2x-dev libtool" |
al@13723 | 14 |
al@13723 | 15 # Rules to configure and make the package. |
al@13723 | 16 compile_rules() |
al@13723 | 17 { |
al@13723 | 18 cd $src/src |
al@13723 | 19 ./configure CFLAGS="-march=$ARCH -Os -pipe -fomit-frame-pointer" \ |
al@13723 | 20 DEF_PREFIX=/usr NTL_STD_CXX=on NTL_GMP_LIP=on NTL_GF2X_LIB=on && |
al@13723 | 21 make && |
al@13723 | 22 sed -i '/^DEF_PREFIX=\/usr$/d' makefile |
al@13723 | 23 make DEF_PREFIX=$install/usr install |
al@13723 | 24 } |
al@13723 | 25 |
al@13723 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@13723 | 27 genpkg_rules() |
al@13723 | 28 { |
al@13723 | 29 cp -a $install/* $fs |
al@13723 | 30 } |