wok-stable annotate mutt/receipt @ rev 6165

Up: thunderbird-langpack-pt_BR (3.1.3)
author Dominique Corbex <domcox@slitaz.org>
date Fri Sep 10 12:24:30 2010 +0200 (2010-09-10)
parents 9ce9587f7608
children 5c7155cf394a
rev   line source
taziden@1973 1
taziden@1973 2 # SliTaz package receipt
taziden@1973 3
taziden@1973 4 PACKAGE="mutt"
taziden@3450 5 VERSION="1.5.19"
taziden@1973 6 CATEGORY="network"
taziden@1973 7 SHORT_DESC="Small and powerful text-based mail client"
taziden@1973 8 MAINTAINER="taziden@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
pascal@5542 19 sed -i 's/STACK \*/STACK_OF(X509) */' mutt_ssl.c
taziden@1973 20 ./configure --prefix=/usr --enable-imap --with-ssl=/usr --with-mailpath=/var/mail --sysconfdir=/etc --enable-pop --enable-smtp $CONFIGURE_ARGS &&
taziden@1973 21 make &&
taziden@1973 22 make DESTDIR=$PWD/_pkg install
taziden@1973 23 }
taziden@1973 24
taziden@1973 25 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@1973 26 genpkg_rules()
taziden@1973 27 {
taziden@1973 28 mkdir -p $fs/usr/bin $fs/etc
taziden@1973 29 cp -a $_pkg/usr/bin/mutt $fs/usr/bin/
taziden@1973 30 cp -a $_pkg/etc/* $fs/etc/
taziden@1973 31 cp -a $_pkg/usr/share $fs/usr/
taziden@1973 32 rm -r $fs/usr/share/doc
taziden@1973 33 rm -r $fs/usr/share/man
taziden@1973 34 }
taziden@1973 35