wok view gmime/receipt @ rev 16264

Add some any arch packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 05 10:12:34 2014 +0000 (2014-04-05)
parents 76b72f1ad63c
children adad2701522a
line source
1 # SliTaz package receipt.
3 PACKAGE="gmime"
4 VERSION="2.6.7"
5 CATEGORY="development"
6 SHORT_DESC="library for parsing messages using MIME"
7 MAINTAINER="allan316@gmail.com"
8 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://spruce.sourceforge.net/gmime"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:3}/$TARBALL"
13 DEPENDS="glib gpgme zlib"
14 BUILD_DEPENDS="glib-dev gpgme-dev zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-smime \
22 --disable-mono \
23 --disable-static \
24 --build=$HOST_SYSTEM \
25 --host=$HOST_SYSTEM 2>&1 | grep -v "can't remove" &&
26 make && make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }