wok annotate gmime/receipt @ rev 24560
updated fossil (2.12.1 -> 2.18)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 25 16:12:40 2022 +0100 (2022-02-25) |
parents | 2622a9066658 |
children | ee0a3fa85a9a |
rev | line source |
---|---|
allan316@3202 | 1 # SliTaz package receipt. |
allan316@3202 | 2 |
allan316@3202 | 3 PACKAGE="gmime" |
Hans-G?nter@22856 | 4 VERSION="3.2.6" |
allan316@3202 | 5 CATEGORY="development" |
Hans-G?nter@20979 | 6 SHORT_DESC="Library for parsing messages using MIME." |
allan316@3202 | 7 MAINTAINER="allan316@gmail.com" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@20979 | 9 WEB_SITE="http://spruce.sourceforge.net/gmime" |
Hans-G?nter@20979 | 10 |
slaxemulator@13109 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@20979 | 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
slaxemulator@11162 | 13 |
slaxemulator@13109 | 14 DEPENDS="glib gpgme zlib" |
slaxemulator@13109 | 15 BUILD_DEPENDS="glib-dev gpgme-dev zlib-dev" |
allan316@3202 | 16 |
pascal@24111 | 17 current_version() |
pascal@24111 | 18 { |
pascal@24111 | 19 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24111 | 20 sed "/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24111 | 21 } |
pascal@24111 | 22 |
allan316@3202 | 23 # Rules to configure and make the package. |
allan316@3202 | 24 compile_rules() |
allan316@3202 | 25 { |
Hans-G?nter@22856 | 26 ./configure \ |
Hans-G?nter@22856 | 27 --enable-smime \ |
Hans-G?nter@22856 | 28 --disable-mono \ |
Hans-G?nter@22856 | 29 --disable-static \ |
Hans-G?nter@22856 | 30 --build=$HOST_SYSTEM \ |
pascal@14999 | 31 --host=$HOST_SYSTEM 2>&1 | grep -v "can't remove" && |
Hans-G?nter@20979 | 32 make -j 1 && |
Hans-G?nter@20979 | 33 make DESTDIR=$DESTDIR install |
allan316@3202 | 34 } |
allan316@3202 | 35 |
allan316@3202 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3202 | 37 genpkg_rules() |
allan316@3202 | 38 { |
slaxemulator@8284 | 39 mkdir -p $fs/usr/lib |
Hans-G?nter@22856 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@3202 | 41 } |