wok-stable view gmime/receipt @ rev 5982

nut: fix genpkg
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 13 21:34:30 2010 +0200 (2010-08-13)
parents 9f19aee613be
children ab563b6b9645
line source
1 # SliTaz package receipt.
3 PACKAGE="gmime"
4 VERSION="2.2.23"
5 CATEGORY="development"
6 SHORT_DESC="library for parsing messages using MIME"
7 MAINTAINER="allan316@gmail.com"
8 DEPENDS="glib zlib"
9 BUILD_DEPENDS="glib-dev zlib-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://spruce.sourceforge.net/gmime"
12 WGET_URL="http://ftp.acc.umu.se/pub/GNOME/sources/gmime/2.2/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --disable-mono \
23 $CONFIGURE_ARGS &&
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 }