CRUX-ARM :
Home
Home
::
Documentation
::
Download
::
Development
::
Community
::
Ports
::
Packages
::
Bugs
::
Links
::
About
::
Donors
development
/
crossrootfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses: update to 5.8
[crossrootfs.git]
/
libmpfr
/
Pkgfile
diff --git
a/libmpfr/Pkgfile
b/libmpfr/Pkgfile
index ab98ae5cd73e37921a1f8b53c383bdddfe8b0800..270b2c3be8536f9ea4e019c4b45eae200064fb03 100644
(file)
--- a/
libmpfr/Pkgfile
+++ b/
libmpfr/Pkgfile
@@
-5,17
+5,19
@@
# Depends on: libgmp
name=libmpfr
# Depends on: libgmp
name=libmpfr
-version=
2.4.2
+version=
3.0.0-p8
release=1
release=1
-source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2)
+source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
+ $name-$version.patch.gz)
build() {
build() {
- cd mpfr-$
version
-
+ cd mpfr-$
{version%-*}
+ gunzip -c $SRC/$name-$version.patch.gz | patch -p1
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
./configure --build=$CHOST \
--host=$CTARGET \
--prefix=/usr \
- --with-gmp=$CLFS
+ --with-gmp-include=$CLFS/usr/include \
+ --with-gmp-lib=$CLFS/usr/lib
make
make DESTDIR=$PKG install
make
make DESTDIR=$PKG install