wok-6.x rev 18161

Add gtest jsoncpp & pugixml
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 23 17:09:47 2015 +0200 (2015-06-23)
parents e4d238a76a77
children 6ee5e2fb9617
files gtest/receipt jsoncpp/receipt pugixml/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gtest/receipt	Tue Jun 23 17:09:47 2015 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gtest"
     1.7 +VERSION="1.7.0"
     1.8 +CATEGORY="development"
     1.9 +SHORT_DESC="Google's framework for writing C++ tests."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="other"
    1.12 +TARBALL="$PACKAGE-$VERSION.zip"
    1.13 +WEB_SITE="http://code.google.com/p/googletest/"
    1.14 +WGET_URL="http://googletest.googlecode.com/files/$TARBALL"
    1.15 +
    1.16 +BUILD_DEPENDS="cmake"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	mkdir build && cd build
    1.22 +	cmake	-DCMAKE_INSTALL_PREFIX=/usr ..
    1.23 +	make
    1.24 +}
    1.25 +
    1.26 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.27 +genpkg_rules()
    1.28 +{
    1.29 +	mkdir -p $fs/usr/lib
    1.30 +	cp -a $src/include $fs/usr
    1.31 +	cp -a $src/build/*a $fs/usr/lib
    1.32 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/jsoncpp/receipt	Tue Jun 23 17:09:47 2015 +0200
     2.3 @@ -0,0 +1,28 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="jsoncpp"
     2.7 +VERSION="0.10.2"
     2.8 +CATEGORY="misc"
     2.9 +SHORT_DESC="A C++ library for interacting with JSON."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +LICENSE="MIT"
    2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.13 +WEB_SITE="https://github.com/open-source-parsers/jsoncpp"
    2.14 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    2.15 +
    2.16 +BUILD_DEPENDS="wget cmake pkg-config"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +	mkdir build && cd build
    2.22 +	cmake	-DCMAKE_INSTALL_PREFIX=/usr ..
    2.23 +	make
    2.24 +	make DESTDIR=$DESTDIR install
    2.25 +}
    2.26 +
    2.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.28 +genpkg_rules()
    2.29 +{
    2.30 +	cp -a $install/* $fs/
    2.31 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/pugixml/receipt	Tue Jun 23 17:09:47 2015 +0200
     3.3 @@ -0,0 +1,29 @@
     3.4 +# SliTaz package receipt.
     3.5 +
     3.6 +PACKAGE="pugixml"
     3.7 +VERSION="1.6"
     3.8 +CATEGORY="misc"
     3.9 +SHORT_DESC="Light-weight, simple and fast XML parser for C++ with XPath support."
    3.10 +MAINTAINER="pascal.bellard@slitaz.org"
    3.11 +LICENSE="MIT"
    3.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    3.13 +WEB_SITE="http://pugixml.org/"
    3.14 +WGET_URL="http://github.com/zeux/pugixml/releases/download/v$VERSION/$TARBALL"
    3.15 +
    3.16 +SUGGESTED="cmake"
    3.17 +BUILD_DEPENDS="cmake"
    3.18 +
    3.19 +# Rules to configure and make the package.
    3.20 +compile_rules()
    3.21 +{
    3.22 +	mkdir build && cd build
    3.23 +	cmake	-DCMAKE_INSTALL_PREFIX=/usr ../scripts
    3.24 +	make
    3.25 +	make DESTDIR=$DESTDIR install
    3.26 +}
    3.27 +
    3.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    3.29 +genpkg_rules()
    3.30 +{
    3.31 +	cp -a $install/* $fs/
    3.32 +}