wok view mpfr/receipt @ rev 7666

Moved Module.sysvers to Module.sysvers-modules. This is cause i think making linux-without-modules bzImage is was change that file. Removed /usr/src/linux in pre_remove function in linux-module-headers. Added /usr/src/linux soft link to post_install in linux-module-headers.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Dec 16 12:59:54 2010 +0000 (2010-12-16)
parents 6b13333e1ad0
children 67cfa870f4e3
line source
1 # SliTaz package receipt
3 PACKAGE="mpfr"
4 VERSION="3.0.0"
5 CATEGORY="development"
6 SHORT_DESC="C library for multiple-precision floating-point computations."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="make gmp"
9 BUILD_DEPENDS="glibc-dev make gmp-dev gmp automake autoconf"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.mpfr.org/"
12 WGET_URL="http://www.mpfr.org/mpfr-current/$TARBALL"
13 EXTRAVERSION="p8"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 patch -Np1 -i ../stuff/$PACKAGE-$VERSION-$EXTRAVERSION.patch
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }