1 # Author: Jonahtan Schaeffer <joschaeffer@gmail.com>
6 pkgdesc="A JSON C++ library"
7 url="http://jsoncpp.sourceforge.net/"
10 makedepends=('scons' 'gcc')
12 source=("http://sourceforge.net/projects/jsoncpp/files/jsoncpp/0.5.0/jsoncpp-src-${pkgver}.tar.gz/download")
13 md5sums=('24482b67c1cb17aac1ed1814288a3a8f')
16 cd ${startdir}/src/${pkgname}-src-${pkgver}
17 scons platform=linux-gcc
19 mkdir -p ${pkgdir}/usr/include
20 cp -r include/json ${pkgdir}/usr/include/json
21 mkdir -p ${pkgdir}/usr/lib
22 cp buildscons/linux-gcc-*/src/lib_json/libjson_linux-gcc*libmt.so ${pkgdir}/usr/lib/
24 ln -sf libjson_linux-gcc-*_libmt.so libjson.so