wok annotate mutt/receipt @ rev 1974
Get-wifi-firmware: add iwlwifi* support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 03 11:44:04 2009 +0000 (2009-01-03) |
parents | |
children | cde7fa93f1d6 |
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" |
taziden@1973 | 9 DEPENDS="openssl ncurses" |
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 |