wok-next annotate gmime/receipt @ rev 18139

Add chkexploit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 15 09:25:34 2015 +0200 (2015-06-15)
parents 76b72f1ad63c
children ab7c63b80420
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 }