mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
double-conversion: switch to build-style=scons.
This commit is contained in:
parent
f362068f7c
commit
05bf0ace33
1 changed files with 4 additions and 11 deletions
|
@ -1,8 +1,9 @@
|
||||||
# Template file for 'double-conversion'
|
# Template file for 'double-conversion'
|
||||||
pkgname=double-conversion
|
pkgname=double-conversion
|
||||||
version=1.1.5
|
version=1.1.5
|
||||||
revision=1
|
revision=2
|
||||||
hostmakedepends="cmake scons"
|
build_style=scons
|
||||||
|
hostmakedepends="scons"
|
||||||
short_desc="Provides binary-decimal and decimal-binary routines for IEEE doubles"
|
short_desc="Provides binary-decimal and decimal-binary routines for IEEE doubles"
|
||||||
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
maintainer="Diogo Leal <diogo@diogoleal.com>"
|
||||||
license="v8"
|
license="v8"
|
||||||
|
@ -10,15 +11,7 @@ homepage="https://github.com/google/double-conversion"
|
||||||
distfiles="https://github.com/google/double-conversion/archive/v${version}.tar.gz"
|
distfiles="https://github.com/google/double-conversion/archive/v${version}.tar.gz"
|
||||||
checksum=03b976675171923a726d100f21a9b85c1c33e06578568fbc92b13be96147d932
|
checksum=03b976675171923a726d100f21a9b85c1c33e06578568fbc92b13be96147d932
|
||||||
|
|
||||||
|
post_install(){
|
||||||
do_build() {
|
|
||||||
scons CC=$CC CXX=$CXX CCFLAGS="$CFLAGS" CXXFLAGS="$CXXFLAGS" LINKFLAGS="$LDFLAGS"
|
|
||||||
}
|
|
||||||
|
|
||||||
do_install(){
|
|
||||||
vmkdir usr/lib
|
|
||||||
vcopy *.a usr/lib
|
|
||||||
vcopy *.so usr/lib
|
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue