From ecc018505bd93c7cd0d3afeac1062308e04ca9cf Mon Sep 17 00:00:00 2001 From: Diogo Leal Date: Sun, 30 Aug 2015 23:40:07 -0300 Subject: [PATCH] New package: double-conversion-1.1.5 --- srcpkgs/double-conversion/template | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 srcpkgs/double-conversion/template diff --git a/srcpkgs/double-conversion/template b/srcpkgs/double-conversion/template new file mode 100644 index 0000000000..e133179914 --- /dev/null +++ b/srcpkgs/double-conversion/template @@ -0,0 +1,24 @@ +# Template file for 'double-conversion' +pkgname=double-conversion +version=1.1.5 +revision=1 +hostmakedepends="cmake scons" +short_desc="Provides binary-decimal and decimal-binary routines for IEEE doubles" +maintainer="Diogo Leal " +license="v8" +homepage="https://github.com/google/double-conversion" +distfiles="https://github.com/google/double-conversion/archive/v${version}.tar.gz" +checksum=03b976675171923a726d100f21a9b85c1c33e06578568fbc92b13be96147d932 + + +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 +} +