wok-next annotate gmime/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
al@20405 1 # SliTaz package receipt v2.
allan316@3202 2
allan316@3202 3 PACKAGE="gmime"
al@20405 4 VERSION="2.6.23"
allan316@3202 5 CATEGORY="development"
al@20405 6 SHORT_DESC="Parsing messages using MIME"
allan316@3202 7 MAINTAINER="allan316@gmail.com"
pascal@14996 8 LICENSE="LGPL2.1"
al@20405 9 WEB_SITE="http://spruce.sourceforge.net/gmime/"
al@21017 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/gmime.html"
al@20882 11 REPOLOGY="gmime2"
al@20405 12
slaxemulator@13109 13 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@20405 14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@11162 15
al@21094 16 COOKOPTS="skip-log-errors force-arch" # different .pc
al@21094 17
al@20405 18 BUILD_DEPENDS="gtk-doc zlib-dev glib-dev gpgme-dev gobject-introspection-dev \
al@20795 19 vala libgpg-error-dev"
al@21020 20 SPLIT="$PACKAGE-dev"
allan316@3202 21
al@20405 22 compile_rules() {
allan316@3202 23 ./configure \
al@20405 24 --disable-static \
slaxemulator@13109 25 --enable-smime \
al@20405 26 $CONFIGURE_ARGS &&
al@20405 27 fix libtool &&
al@20534 28 make &&
al@20534 29 make install
allan316@3202 30 }
allan316@3202 31
al@20405 32 genpkg_rules() {
al@20405 33 case $PACKAGE in
al@20405 34 gmime)
al@20405 35 copy @std
al@20405 36 DEPENDS="glib gpgme zlib"
al@20405 37 ;;
al@20405 38 *-dev)
al@20405 39 copy @dev
al@20749 40 DEPENDS="gmime glib-dev gpgme-dev libassuan-dev libgpg-error-dev \
al@20749 41 zlib-dev"
al@20405 42 ;;
al@20405 43 esac
allan316@3202 44 }