wok annotate gmime/receipt @ rev 24890
trafshow: libpcap 1.10 has its own pcap_init
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 05 09:06:43 2022 +0000 (2022-04-05) |
parents | 6831608a1b2a |
children | b0069c845544 |
rev | line source |
---|---|
allan316@3202 | 1 # SliTaz package receipt. |
allan316@3202 | 2 |
allan316@3202 | 3 PACKAGE="gmime" |
Hans-G?nter@24607 | 4 VERSION="3.2.7" |
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 \ |
Hans-G?nter@24607 | 31 --host=$HOST_SYSTEM && |
Hans-G?nter@24607 | 32 make && |
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 { |
Hans-G?nter@24607 | 39 cook_copy_files *.so* |
allan316@3202 | 40 } |