wok-current view gmp/receipt @ rev 6711

Up: aufs-utils to 20101014. Added support to back up source code into a .tar.gz. Also added linux-module-headers as build depend since it builds with it. Added a fix-kdir.patch since it was KDIR support was remove from newer git version.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 14 03:01:24 2010 +0000 (2010-10-14)
parents a836e21ba070
children 79a8dffadd9f
line source
1 # SliTaz package receipt
3 PACKAGE="gmp"
4 VERSION="5.0.1"
5 CATEGORY="development"
6 SHORT_DESC="GNU Multiple Precision Arithmetic Library."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="make"
9 BUILD_DEPENDS="glibc-dev make m4"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://gmplib.org/"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }