wok-next annotate mutt/receipt @ rev 6516
Up: gmp, gmp-dev to 5.0.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 02 05:32:35 2010 +0000 (2010-10-02) |
parents | 0e66bfbeb7d5 |
children | 63d0d3c6b670 |
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" |
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 |