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: disabled rpath. Thanks j_v
[crossrootfs.git]
/
libgmp
/
Pkgfile
diff --git
a/libgmp/Pkgfile
b/libgmp/Pkgfile
index f1bf76fc0ac0ab8c54bc4cbb8af73c58d7650824..d00e529a8bd312e8727623e1bf903a5f478c662f 100644
(file)
--- a/
libgmp/Pkgfile
+++ b/
libgmp/Pkgfile
@@
-1,21
+1,24
@@
# Description: Free library for arbitrary precision arithmetic
# URL: http://gmplib.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Description: Free library for arbitrary precision arithmetic
# URL: http://gmplib.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
-# Arch Maintainer: CRUX-ARM System Team,
crux-arm at mikeux dot dyndns dot org
+# Arch Maintainer: CRUX-ARM System Team,
devel at crux-arm dot nu
# Depends on:
name=libgmp
# Depends on:
name=libgmp
-version=
4.3.1
+version=
6.1.0
release=1
release=1
-source=(ftp://ftp.gnu.org/gnu/gmp/gmp-$version.tar.bz2)
+source=(ftp://ftp.gmplib.org/pub/gmp-$version/gmp-$version.tar.xz \
+ gmp.h)
build() {
build() {
- cd gmp-$version
- ./configure --build=$CHOST \
- --host=$CTARGET \
- --prefix=/usr \
- --enable-cxx
- make
- make DESTDIR=$PKG install
- rm -r $PKG/usr/info
+ cd gmp-$version
+ ./configure --build=$CHOST \
+ --host=$CTARGET \
+ --prefix=/usr \
+ --enable-cxx
+ make
+ make DESTDIR=$PKG install
+ mv $PKG/usr/include/gmp{,-32}.h
+ install -m 0644 $SRC/gmp.h $PKG/usr/include/
+ rm -r $PKG/usr/share
}
}