wok annotate mutt/receipt @ rev 2703

Up: udev (141)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 22 18:28:29 2009 +0200 (2009-04-22)
parents cde7fa93f1d6
children 9ce9587f7608
rev   line source
taziden@1973 1
taziden@1973 2 # SliTaz package receipt
taziden@1973 3
taziden@1973 4 PACKAGE="mutt"
taziden@1973 5 VERSION="1.5.18"
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@1973 10 BUILD_DEPENDS="ncurses-dev openssl"
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
taziden@1973 19 ./configure --prefix=/usr --enable-imap --with-ssl=/usr --with-mailpath=/var/mail --sysconfdir=/etc --enable-pop --enable-smtp $CONFIGURE_ARGS &&
taziden@1973 20 make &&
taziden@1973 21 make DESTDIR=$PWD/_pkg install
taziden@1973 22 }
taziden@1973 23
taziden@1973 24 # Rules to gen a SliTaz package suitable for Tazpkg.
taziden@1973 25 genpkg_rules()
taziden@1973 26 {
taziden@1973 27 mkdir -p $fs/usr/bin $fs/etc
taziden@1973 28 cp -a $_pkg/usr/bin/mutt $fs/usr/bin/
taziden@1973 29 cp -a $_pkg/etc/* $fs/etc/
taziden@1973 30 cp -a $_pkg/usr/share $fs/usr/
taziden@1973 31 rm -r $fs/usr/share/doc
taziden@1973 32 rm -r $fs/usr/share/man
taziden@1973 33 }
taziden@1973 34