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

Update qemu website
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 19 09:52:04 2023 +0000 (21 months ago)
parents ee0a3fa85a9a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gmime"
4 VERSION="3.2.7"
5 CATEGORY="development"
6 SHORT_DESC="Library for parsing messages using MIME."
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://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 current_version()
18 {
19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --enable-smime \
28 --disable-mono \
29 --disable-static \
30 --build=$HOST_SYSTEM \
31 --host=$HOST_SYSTEM &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }