gmp: update to 6.2.0.
This commit is contained in:
parent
74c909126f
commit
7ec29644da
1 changed files with 7 additions and 13 deletions
|
@ -1,6 +1,6 @@
|
|||
# Template build file for 'gmp'
|
||||
# Template file for 'gmp'
|
||||
pkgname=gmp
|
||||
version=6.1.2
|
||||
version=6.2.0
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
build_style=gnu-configure
|
||||
|
@ -9,21 +9,13 @@ hostmakedepends="m4"
|
|||
makedepends="zlib-devel"
|
||||
short_desc="Library for arbitrary precision arithmetic"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
license="LGPL-3"
|
||||
license="LGPL-3.0-or-later"
|
||||
homepage="http://gmplib.org/"
|
||||
distfiles="https://gmplib.org/download/gmp/gmp-${version}.tar.xz"
|
||||
checksum=87b565e89a9a684fe4ebeeddb8399dce2599f9c9049854ca8c0dfbdea0e21912
|
||||
checksum=258e6cd51b3fbdfc185c716d55f82c08aff57df0c6fbd143cf6ed561267a1526
|
||||
|
||||
subpackages="gmpxx gmpxx-devel gmp-devel"
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" automake libtool"
|
||||
pre_configure() {
|
||||
autoreconf -if
|
||||
}
|
||||
fi
|
||||
|
||||
|
||||
gmpxx_package() {
|
||||
short_desc+=" - C++ support"
|
||||
pkg_install() {
|
||||
|
@ -31,12 +23,13 @@ gmpxx_package() {
|
|||
}
|
||||
}
|
||||
gmpxx-devel_package() {
|
||||
depends="gmpxx-${version}_${revision}"
|
||||
depends="gmp-devel-${version}_${revision} gmpxx-${version}_${revision}"
|
||||
short_desc+=" - C++ development files"
|
||||
pkg_install() {
|
||||
vmove usr/include/gmpxx.h
|
||||
vmove usr/lib/libgmpxx.a
|
||||
vmove usr/lib/libgmpxx.so
|
||||
vmove usr/lib/pkgconfig/gmpxx.pc
|
||||
}
|
||||
}
|
||||
gmp-devel_package() {
|
||||
|
@ -46,6 +39,7 @@ gmp-devel_package() {
|
|||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/share
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue