wok annotate mutt/receipt @ rev 12441

links: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 21 17:56:48 2012 +0200 (2012-04-21)
parents 5c7155cf394a
children cb030285c0ed
rev   line source
taziden@1973 1
taziden@1973 2 # SliTaz package receipt
taziden@1973 3
taziden@1973 4 PACKAGE="mutt"
taziden@6436 5 VERSION="1.5.21"
taziden@1973 6 CATEGORY="network"
taziden@1973 7 SHORT_DESC="Small and powerful text-based mail client"
pankso@10601 8 MAINTAINER="paul@slitaz.org"
pascal@2519 9 DEPENDS="openssl ncurses zlib libidn"
taziden@3450 10 BUILD_DEPENDS="libidn-dev ncurses-dev openssl-dev"
taziden@1973 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
taziden@1973 12 WEB_SITE="http://www.mutt.org"
taziden@1973 13 WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL"
taziden@1973 14
taziden@1973 15 # Rules to configure and make the package.
taziden@1973 16 compile_rules()
taziden@1973 17 {
taziden@1973 18 cd $src
pankso@10601 19 addgroup mail
pascal@5542 20 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
pankso@10601 21 ./configure \
pankso@10601 22 --prefix=/usr \
pankso@10601 23 --enable-imap \
pankso@10601 24 --with-ssl=/usr \
pankso@10601 25 --with-mailpath=/var/mail \
pankso@10601 26 --sysconfdir=/etc \
pankso@10601 27 --enable-pop \
pankso@10601 28 --enable-smtp \
pankso@10601 29 $CONFIGURE_ARGS &&
pankso@10601 30 make && make install &&
pankso@10601 31 delgroup mail
taziden@1973 32 }
taziden@1973 33
taziden@1973 34 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@1973 35 genpkg_rules()
taziden@1973 36 {
taziden@1973 37 mkdir -p $fs/usr/bin $fs/etc
taziden@1973 38 cp -a $_pkg/usr/bin/mutt $fs/usr/bin/
taziden@1973 39 cp -a $_pkg/etc/* $fs/etc/
taziden@1973 40 cp -a $_pkg/usr/share $fs/usr/
taziden@1973 41 rm -r $fs/usr/share/doc
taziden@1973 42 rm -r $fs/usr/share/man
taziden@1973 43 }
taziden@1973 44
pankso@10601 45 post_install()
pankso@10601 46 {
pankso@10601 47 addgroup mail
pankso@10601 48 }
pankso@10601 49
pankso@10601 50 post_remove()
pankso@10601 51 {
pankso@10601 52 delgroup mail
pankso@10601 53 }