wok annotate pmail/receipt @ rev 19294

sane-backends, scons, scrot, shell-fm, smake, soundtouch, wireless_tools: fix man or doc path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 06 16:30:34 2016 +0200 (2016-07-06)
parents 51a1ebbda768
children 453c249b6219
rev   line source
pascal@2328 1 # SliTaz package receipt.
pascal@2328 2
pascal@2328 3 PACKAGE="pmail"
pascal@2328 4 VERSION="0.9.16"
pascal@2328 5 CATEGORY="network"
pascal@2328 6 SHORT_DESC="Mail transfer client based on the protocols of POP3 and SMTP."
pascal@2328 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 8 LICENSE="GPL2"
pascal@2328 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@2328 10 WEB_SITE="http://www.ibiblio.org/pub/Linux/system/mail/pop/"
pascal@2328 11 WGET_URL="${WEB_SITE}$TARBALL"
pascal@2328 12
pascal@2328 13 # Rules to configure and make the package.
pascal@2328 14 compile_rules()
pascal@2328 15 {
pascal@15375 16 sed -i -e "s|BINDIR = @prefix@/bin|BINDIR = $DESTDIR/usr/bin|" \
pascal@19293 17 -e "s|MANDIR = @prefix@/man/man1|MANDIR = $DESTDIR/usr/share/man/man1|" \
pascal@2328 18 Makefile.in
pascal@19293 19 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/share/man/man1
pascal@2328 20 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2328 21 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@11902 22 make -j 1 &&
pascal@15375 23 make DESTDIR=$DESTDIR install
pascal@2328 24 }
pascal@2328 25
pascal@2328 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2328 27 genpkg_rules()
pascal@2328 28 {
pascal@2328 29 mkdir -p $fs/usr
pascal@15375 30 cp -a $install/usr/bin $fs/usr
pascal@2328 31 }