wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gmime"
4 VERSION="2.6.23"
5 CATEGORY="development"
6 SHORT_DESC="Parsing messages using MIME"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://spruce.sourceforge.net/gmime/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/gmime.html"
11 REPOLOGY="gmime2"
13 TARBALL="$PACKAGE-$VERSION.tar.xz"
14 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
16 BUILD_DEPENDS="gtk-doc zlib-dev glib-dev gpgme-dev gobject-introspection-dev \
17 vala libgpg-error-dev"
18 SPLIT="$PACKAGE-dev"
19 COOKOPTS="skip-log-errors"
21 compile_rules() {
22 ./configure \
23 --disable-static \
24 --enable-smime \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 gmime)
34 copy @std
35 DEPENDS="glib gpgme zlib"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="gmime glib-dev gpgme-dev libassuan-dev libgpg-error-dev \
40 zlib-dev"
41 ;;
42 esac
43 }