# HG changeset patch # User Pascal Bellard # Date 1443472962 -7200 # Node ID e4096688d955cbbb762ec46c4dc71deeb7f81b71 # Parent fcf9e6ce891461d54bbc1b7407abd423919c4575 Add libsieve diff -r fcf9e6ce8914 -r e4096688d955 libsieve-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsieve-dev/receipt Mon Sep 28 22:42:42 2015 +0200 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libsieve-dev" +VERSION="2.3.1" +CATEGORY="development" +SHORT_DESC="A library for parsing, sorting and filtering your mail, development files." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="LGPL2.1" +WEB_SITE="http://libsieve.sourceforge.net/" +WANTED="libsieve" + +DEPENDS="libsieve pkg-config" + +# 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/*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib +} diff -r fcf9e6ce8914 -r e4096688d955 libsieve/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libsieve/receipt Mon Sep 28 22:42:42 2015 +0200 @@ -0,0 +1,28 @@ +# SliTaz package receipt. + +PACKAGE="libsieve" +VERSION="2.3.1" +CATEGORY="network" +SHORT_DESC="A library for parsing, sorting and filtering your mail." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="LGPL2.1" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://libsieve.sourceforge.net/" +WGET_URL="https://github.com/downloads/sodabrew/$PACKAGE/$TARBALL" + +BUILD_DEPENDS="wget" + +# 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/lib/*.so* $fs/usr/lib +}