wok view gmime/receipt @ rev 25791
Up dropbear (2024.86), libssh2 (1.11.1), xz (5.6.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 23 13:27:53 2024 +0000 (4 weeks 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 }