wok-next annotate gmime/receipt @ rev 5001
[f-g]*: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 28 15:33:01 2010 +0100 (2010-02-28) |
parents | c10802c6a760 |
children | e4c44c62d5f2 |
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 \ |
allan316@3202 | 22 $CONFIGURE_ARGS && |
allan316@3202 | 23 make && make DESTDIR=$PWD/_pkg install |
allan316@3202 | 24 } |
allan316@3202 | 25 |
allan316@3202 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
allan316@3202 | 27 genpkg_rules() |
allan316@3202 | 28 { |
allan316@3202 | 29 mkdir -p $fs/usr |
allan316@3202 | 30 cp -a $_pkg/usr/bin $fs/usr |
allan316@3202 | 31 cp -a $_pkg/usr/lib $fs/usr |
allan316@3202 | 32 } |
allan316@3202 | 33 |