wok view gmime/receipt @ rev 25043
lxpanel: update web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 01 16:50:09 2022 +0000 (2022-06-01) |
parents | 6831608a1b2a |
children | b0069c845544 |
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="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 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 }