wok-current annotate mutt/receipt @ rev 4299
Up: wget (1.12)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 26 22:33:54 2009 +0000 (2009-09-26) |
parents | faf21c50d61f |
children | 0e66bfbeb7d5 |
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 |
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 |