# HG changeset patch # User Pascal Bellard # Date 1404291821 -7200 # Node ID d167d27535be61cd7fc66a89ce9247c7a0c7f11b # Parent 77efaea34489844c64b0c9dfa8987a39bc424904 Add zeromq diff -r 77efaea34489 -r d167d27535be zeromq-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zeromq-dev/receipt Wed Jul 02 11:03:41 2014 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="zeromq-dev" +VERSION="4.0.4" +CATEGORY="development" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3 LGPL3" +SHORT_DESC="The ZeroMQ messaging library, development files." +WEB_SITE="http://zeromq.org/" +WANTED="zeromq" + +DEPENDS="zeromq" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/include $fs/usr + cp -a $install/usr/lib/pkgconfig $fs/usr + cp -a $install/usr/lib/*.a $fs/usr +} diff -r 77efaea34489 -r d167d27535be zeromq/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/zeromq/receipt Wed Jul 02 11:03:41 2014 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="zeromq" +VERSION="4.0.4" +CATEGORY="misc" +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="GPL3 LGPL3" +SHORT_DESC="The ZeroMQ messaging library" +WEB_SITE="http://zeromq.org/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="http://download.zeromq.org/$TARBALL" + +DEPENDS="" +BUILD_DEPENDS="pkg-config util-linux-uuid-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure -prefix=/usr $CONFIGURE_ARGS && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr +}