wok annotate gmime/receipt @ rev 15029
partclone: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 09:47:27 2013 +0000 (2013-08-12) |
parents | 76b72f1ad63c |
children | adad2701522a |
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" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
slaxemulator@13109 | 9 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@11162 | 10 WEB_SITE="http://spruce.sourceforge.net/gmime" |
slaxemulator@13109 | 11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL" |
slaxemulator@11162 | 12 |
slaxemulator@13109 | 13 DEPENDS="glib gpgme zlib" |
slaxemulator@13109 | 14 BUILD_DEPENDS="glib-dev gpgme-dev zlib-dev" |
allan316@3202 | 15 |
allan316@3202 | 16 # Rules to configure and make the package. |
allan316@3202 | 17 compile_rules() |
allan316@3202 | 18 { |
allan316@3202 | 19 cd $src |
allan316@3202 | 20 ./configure \ |
slaxemulator@13109 | 21 --enable-smime \ |
pascal@5037 | 22 --disable-mono \ |
slaxemulator@13109 | 23 --disable-static \ |
slaxemulator@11162 | 24 --build=$HOST_SYSTEM \ |
pascal@14999 | 25 --host=$HOST_SYSTEM 2>&1 | grep -v "can't remove" && |
slaxemulator@11162 | 26 make && make DESTDIR=$DESTDIR install |
allan316@3202 | 27 } |
allan316@3202 | 28 |
allan316@3202 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3202 | 30 genpkg_rules() |
allan316@3202 | 31 { |
slaxemulator@8284 | 32 mkdir -p $fs/usr/lib |
pascal@14996 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
allan316@3202 | 34 } |