wok annotate gmime/receipt @ rev 14234
linux: update wget_url, use ftp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 22 09:04:12 2013 +0100 (2013-03-22) |
parents | 32fc82463121 |
children | 76b72f1ad63c |
rev | line source |
---|---|
allan316@3202 | 1 # SliTaz package receipt. |
allan316@3202 | 2 |
allan316@3202 | 3 PACKAGE="gmime" |
slaxemulator@13109 | 4 VERSION="2.6.7" |
allan316@3202 | 5 CATEGORY="development" |
allan316@3202 | 6 SHORT_DESC="library for parsing messages using MIME" |
allan316@3202 | 7 MAINTAINER="allan316@gmail.com" |
slaxemulator@13109 | 8 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@11162 | 9 WEB_SITE="http://spruce.sourceforge.net/gmime" |
slaxemulator@13109 | 10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL" |
slaxemulator@11162 | 11 |
slaxemulator@13109 | 12 DEPENDS="glib gpgme zlib" |
slaxemulator@13109 | 13 BUILD_DEPENDS="glib-dev gpgme-dev zlib-dev" |
allan316@3202 | 14 |
allan316@3202 | 15 # Rules to configure and make the package. |
allan316@3202 | 16 compile_rules() |
allan316@3202 | 17 { |
allan316@3202 | 18 cd $src |
allan316@3202 | 19 ./configure \ |
slaxemulator@13109 | 20 --enable-smime \ |
pascal@5037 | 21 --disable-mono \ |
slaxemulator@13109 | 22 --disable-static \ |
slaxemulator@11162 | 23 --build=$HOST_SYSTEM \ |
slaxemulator@11162 | 24 --host=$HOST_SYSTEM && |
slaxemulator@11162 | 25 make && make DESTDIR=$DESTDIR install |
allan316@3202 | 26 } |
allan316@3202 | 27 |
allan316@3202 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3202 | 29 genpkg_rules() |
allan316@3202 | 30 { |
slaxemulator@8284 | 31 mkdir -p $fs/usr/lib |
slaxemulator@8284 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
allan316@3202 | 33 } |