wok-next annotate gmime/receipt @ rev 21066
Switch some python packages to traditional build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 06 13:30:23 2018 +0200 (2018-12-06) |
parents | f48456621a9d |
children | e19ff076dc63 |
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@20405 | 16 BUILD_DEPENDS="gtk-doc zlib-dev glib-dev gpgme-dev gobject-introspection-dev \ |
al@20795 | 17 vala libgpg-error-dev" |
al@21020 | 18 SPLIT="$PACKAGE-dev" |
al@20405 | 19 COOKOPTS="skip-log-errors" |
allan316@3202 | 20 |
al@20405 | 21 compile_rules() { |
allan316@3202 | 22 ./configure \ |
al@20405 | 23 --disable-static \ |
slaxemulator@13109 | 24 --enable-smime \ |
al@20405 | 25 $CONFIGURE_ARGS && |
al@20405 | 26 fix libtool && |
al@20534 | 27 make && |
al@20534 | 28 make install |
allan316@3202 | 29 } |
allan316@3202 | 30 |
al@20405 | 31 genpkg_rules() { |
al@20405 | 32 case $PACKAGE in |
al@20405 | 33 gmime) |
al@20405 | 34 copy @std |
al@20405 | 35 DEPENDS="glib gpgme zlib" |
al@20405 | 36 ;; |
al@20405 | 37 *-dev) |
al@20405 | 38 copy @dev |
al@20749 | 39 DEPENDS="gmime glib-dev gpgme-dev libassuan-dev libgpg-error-dev \ |
al@20749 | 40 zlib-dev" |
al@20405 | 41 ;; |
al@20405 | 42 esac |
allan316@3202 | 43 } |