wok-6.x view gmime/receipt @ rev 24072

Add some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 07 17:56:16 2021 +0000 (2021-07-07)
parents adad2701522a
children 6831608a1b2a
line source
1 # SliTaz package receipt.
3 PACKAGE="gmime"
4 VERSION="3.2.6"
5 CATEGORY="development"
6 SHORT_DESC="Library for parsing messages using MIME."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://spruce.sourceforge.net/gmime"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="glib gpgme zlib"
15 BUILD_DEPENDS="glib-dev gpgme-dev zlib-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --enable-smime \
22 --disable-mono \
23 --disable-static \
24 --build=$HOST_SYSTEM \
25 --host=$HOST_SYSTEM 2>&1 | grep -v "can't remove" &&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }