# HG changeset patch # User Hans-G?nter Theisgen # Date 1677306499 -3600 # Node ID 2b37f876f63208ee95e93781d6ea9a20902dbff2 # Parent 395b0dea66dba6b57b8799588d7495856eb1928e created recipes for libmpack and libmpack-dev 1.0.5 diff -r 395b0dea66db -r 2b37f876f632 libmpack-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmpack-dev/receipt Sat Feb 25 07:28:19 2023 +0100 @@ -0,0 +1,17 @@ +# SliTaz package receipt. + +PACKAGE="libmpack-dev" +VERSION="1.0.5" +CATEGORY="development" +SHORT_DESC="Simple implementation of msgpack in C - development files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://github.com/libmpack/libmpack" + +WANTED="libmpack" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + get_dev_files +} diff -r 395b0dea66db -r 2b37f876f632 libmpack/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmpack/description.txt Sat Feb 25 07:28:19 2023 +0100 @@ -0,0 +1,2 @@ +Libmpack is a small binary serialization and RPC library +that implements both the msgpack and msgpack-rpc specifications. diff -r 395b0dea66db -r 2b37f876f632 libmpack/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libmpack/receipt Sat Feb 25 07:28:19 2023 +0100 @@ -0,0 +1,29 @@ +# SliTaz package receipt. + +PACKAGE="libmpack" +VERSION="1.0.5" +CATEGORY="libs" +SHORT_DESC="Simple implementation of msgpack in C." +MAINTAINER="maintainer@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://github.com/libmpack/libmpack" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="${WEB_SITE}/archive/$VERSION.tar.gz" + +BUILD_DEPENDS="libtool" + +# Rules to configure and make the package. +compile_rules() +{ + make && + make install \ + DESTDIR="$DESTDIR" \ + PREFIX=/usr +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_files *.so* +}