wok annotate gmime/receipt @ rev 8150

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