wok-next view mutt/receipt @ rev 2552
apache-dev, apache-doc: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 26 11:20:53 2009 +0000 (2009-03-26) |
parents | cde7fa93f1d6 |
children | 9ce9587f7608 |
line source
2 # SliTaz package receipt
4 PACKAGE="mutt"
5 VERSION="1.5.18"
6 CATEGORY="network"
7 SHORT_DESC="Small and powerful text-based mail client"
8 MAINTAINER="taziden@slitaz.org"
9 DEPENDS="openssl ncurses zlib libidn"
10 BUILD_DEPENDS="ncurses-dev openssl"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.mutt.org"
13 WGET_URL="ftp://ftp.mutt.org/mutt/devel/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --enable-imap --with-ssl=/usr --with-mailpath=/var/mail --sysconfdir=/etc --enable-pop --enable-smtp $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/etc
28 cp -a $_pkg/usr/bin/mutt $fs/usr/bin/
29 cp -a $_pkg/etc/* $fs/etc/
30 cp -a $_pkg/usr/share $fs/usr/
31 rm -r $fs/usr/share/doc
32 rm -r $fs/usr/share/man
33 }